[Mono-bugs] [Bug 337383] Runtime assertion when pressing C-c on simple app.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 8 11:38:24 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=337383#c3





--- Comment #3 from Miguel de Icaza <miguel at novell.com>  2007-11-08 09:38:24 MST ---
I would actually change this a little bit, because it seems like there could be
a race between deleting the critical section and setting it to NULL.

I would do this:

critical_section = this->sync_cs;
this->sync_cs = NULL;
DeleteCriticalSection (this->sync_cs);
g_free (critical_section);


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list