Use g_assertion_message instead of exit to kill an iOS app.
[mono.git] / mono / mini / tasklets.c
index 2c0bf5e37aaed46933c860ef479d387159fc5962..417a55bbacfa5f0416fcfede4f10512e90a7023b 100644 (file)
@@ -19,7 +19,7 @@ internal_init (void)
 {
        if (keepalive_stacks)
                return;
-       MONO_GC_REGISTER_ROOT (keepalive_stacks);
+       MONO_GC_REGISTER_ROOT_PINNING (keepalive_stacks);
        keepalive_stacks = mono_g_hash_table_new (NULL, NULL);
 }