Synchronized object must not be deleted. causes useless error message

BCS BCS at pathilink.com
Tue Nov 21 09:25:01 PST 2006


this

auto o = new Object;
synchronized(o)
	delete o;

causes a runtime error:

Assertion failure: 'h->monitor" on line 99 in file 'internal\monitor.c'



More information about the Digitalmars-d-bugs mailing list