Merge pull request #3545 from ntherning/throw-AbandonedMutexException-on-unix
[mono.git] / mono / metadata / threads.c
index c80cb5344ef20869ed500055f722684fc82a36e2..8d8510f5fb0edca44e597ccf064b725d2ea02ffc 100644 (file)
@@ -2839,9 +2839,6 @@ void mono_thread_init (MonoThreadStartCB start_cb,
         * anything up.
         */
        GetCurrentProcess ();
-
-       /* Check that the managed and unmanaged layout of MonoInternalThread matches */
-       g_assert (MONO_STRUCT_OFFSET (MonoInternalThread, last) == mono_field_get_offset (mono_class_get_field_from_name (mono_defaults.internal_thread_class, "last")));
 }
 
 void mono_thread_cleanup (void)