explicit calls to init_type()
This commit is contained in:
parent
611d3b04b0
commit
ed1fd25236
|
|
@ -30,6 +30,7 @@ TypeHandle ExternalThread::_type_handle;
|
|||
////////////////////////////////////////////////////////////////////
|
||||
ExternalThread::
|
||||
ExternalThread() : Thread("External", "External") {
|
||||
init_type(); // in case static init comes in the wrong order
|
||||
_started = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ TypeHandle MainThread::_type_handle;
|
|||
////////////////////////////////////////////////////////////////////
|
||||
MainThread::
|
||||
MainThread() : Thread("Main", "Main") {
|
||||
init_type(); // in case static init comes in the wrong order
|
||||
_started = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue