set global system pointer to null in MySystem::dispose in windows.cpp

This commit is contained in:
Joel Dice 2008-10-28 12:15:27 -06:00
parent 01cc868797
commit 88a1faa2a2

View File

@ -721,6 +721,7 @@ class MySystem: public System {
}
virtual void dispose() {
system = 0;
CloseHandle(mutex);
::free(this);
}