[threads] Remove ThreadState_StopRequested (#4462)
[mono.git] / mono / metadata / threadpool-worker-default.c
index c1f4a878e9916f65673e6a93b09aa8cad22407bc..3a87574aab1015efd48bcca798342fa1ac8759e8 100644 (file)
@@ -743,7 +743,6 @@ monitor_thread (gpointer unused)
                                break;
                        interval_left -= mono_msec_ticks () - ts;
 
-                       g_assert (!(internal->state & ThreadState_StopRequested));
                        mono_thread_interruption_checkpoint ();
                } while (interval_left > 0 && ++awake < 10);