Browse Source

Handle AbandonedMutexException in Profiler.AllThreadsWait().

pull/14/head
Daniel Grunwald 15 years ago
parent
commit
ba7eb2729b
  1. 7
      src/AddIns/Analysis/Profiler/Controller/Profiler.cs

7
src/AddIns/Analysis/Profiler/Controller/Profiler.cs

@ -559,7 +559,12 @@ namespace ICSharpCode.Profiler.Controller
bool AllThreadsWait32() bool AllThreadsWait32()
{ {
this.threadListMutex.WaitOne(); try {
this.threadListMutex.WaitOne();
} catch (AbandonedMutexException) {
// profilee crashed while holding the thread list mutex
return true;
}
bool isWaiting = true; bool isWaiting = true;

Loading…
Cancel
Save