mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 04:21:15 +00:00
Wait for thread in dtor
This commit is contained in:
parent
50460aaa84
commit
5d388104ad
@ -16,6 +16,9 @@ MxThread::MxThread()
|
||||
// FUNCTION: LEGO1 0x100bf5a0
|
||||
MxThread::~MxThread()
|
||||
{
|
||||
if (m_thread) {
|
||||
SDL_WaitThread(m_thread, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100bf610
|
||||
|
||||
Loading…
Reference in New Issue
Block a user