Ad support for iface calls which might go to methods which need an rgctx.
[mono.git] / mono / sgen / sgen-workers.c
index 4262b73d671ae06928d0c700f7ce958bc28c398a..4f096f697f04b0b7d69695a2074de740ae4c7256 100644 (file)
@@ -218,9 +218,7 @@ marker_idle_func (void *data_untyped)
 {
        WorkerData *data = data_untyped;
 
-       if (!continue_idle_func ())
-               return;
-
+       SGEN_ASSERT (0, continue_idle_func (), "Why are we called when we're not supposed to work?");
        SGEN_ASSERT (0, sgen_concurrent_collection_in_progress (), "The worker should only mark in concurrent collections.");
 
        if (workers_state == STATE_WORK_ENQUEUED) {