|
|
|
@ -71,7 +71,7 @@ void SMX::SMXManager::Shutdown() |
|
|
|
|
|
|
|
|
|
// Make sure we're not being called from within m_UserCallbackThread, since that'll
|
|
|
|
|
// deadlock when we shut down m_UserCallbackThread.
|
|
|
|
|
if(m_UserCallbackThread.GetThreadId() == GetCurrentThreadId()) |
|
|
|
|
if(m_UserCallbackThread.IsCurrentThread()) |
|
|
|
|
throw runtime_error("SMX::SMXManager::Shutdown must not be called from an SMX callback"); |
|
|
|
|
|
|
|
|
|
// Shut down the thread we make user callbacks from.
|
|
|
|
|