Fix comments
[mono.git] / mcs / class / corlib / System.Threading / RegisteredWaitHandle.cs
index 3c2fbfa156d69e109a8320cb0bced64c19d14ef3..62e349e648b1060b33c4877794da5cff0cff6efd 100644 (file)
@@ -88,8 +88,11 @@ namespace System.Threading
 
                private void DoCallBack (object timedOut)
                {
-                       if (_callback != null)
-                               _callback (_state, (bool)timedOut); 
+                       if (_callback != null) {
+                               try {
+                                       _callback (_state, (bool)timedOut); 
+                               } catch {}
+                       }
 
                        lock (this) 
                        {