title: AbandonedMutexException: The wait completed due to an abandoned mutex
body: <p>Why would the following structure cause an AbandonedMutexException. Even if there is an error or method returns. The mutex is being released.</p>
  
  <pre><code>static Mutex WriteMutex = new Mutex(false, @"Global\mutex2203");
  
  public static void Demo()
  {
  
      try
      {
          WriteMutex.WaitOne();
  
          //rest of coding stuff here
      }
      finally
      {
              WriteMutex.ReleaseMutex();
      }
  
  }
  </code></pre>
  
  <p>Receives reports cant regenerate the bug.</p>
  
  <p>Edit: The exception occurs at <code>WriteMutex.WaitOne();</code> no other code. And only this method touches that mutex.</p>