explicit calls to init_type()

This commit is contained in:
David Rose 2006-05-22 18:32:22 +00:00
parent 611d3b04b0
commit ed1fd25236
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ TypeHandle ExternalThread::_type_handle;
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
ExternalThread:: ExternalThread::
ExternalThread() : Thread("External", "External") { ExternalThread() : Thread("External", "External") {
init_type(); // in case static init comes in the wrong order
_started = true; _started = true;
} }

View File

@ -27,6 +27,7 @@ TypeHandle MainThread::_type_handle;
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
MainThread:: MainThread::
MainThread() : Thread("Main", "Main") { MainThread() : Thread("Main", "Main") {
init_type(); // in case static init comes in the wrong order
_started = true; _started = true;
} }