提交 1443252b 编写于 作者: Z Zoltan Varga

Disable the freeing of monitors again, it still crashes with sgen when running...

Disable the freeing of monitors again, it still crashes with sgen when running tests/async_read.exe.
上级 8d979386
......@@ -126,7 +126,7 @@ void
mono_monitor_cleanup (void)
{
MonoThreadsSync *mon;
MonitorArray *marray, *next = NULL;
/* MonitorArray *marray, *next = NULL; */
/*DeleteCriticalSection (&monitor_mutex);*/
......@@ -134,6 +134,8 @@ mono_monitor_cleanup (void)
for (mon = monitor_freelist; mon; mon = mon->data)
mon->wait_list = (gpointer)-1;
/* FIXME: This still crashes with sgen (async_read.exe) */
/*
for (marray = monitor_allocated; marray; marray = next) {
int i;
......@@ -146,6 +148,7 @@ mono_monitor_cleanup (void)
next = marray->next;
g_free (marray);
}
*/
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册