diff --git a/src/AddIns/Analysis/Profiler/Controller/Profiler.cs b/src/AddIns/Analysis/Profiler/Controller/Profiler.cs index b033320fd7..138cf1aad2 100644 --- a/src/AddIns/Analysis/Profiler/Controller/Profiler.cs +++ b/src/AddIns/Analysis/Profiler/Controller/Profiler.cs @@ -559,7 +559,12 @@ namespace ICSharpCode.Profiler.Controller bool AllThreadsWait32() { - this.threadListMutex.WaitOne(); + try { + this.threadListMutex.WaitOne(); + } catch (AbandonedMutexException) { + // profilee crashed while holding the thread list mutex + return true; + } bool isWaiting = true;