mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
MessageManager: Only reinitialise platform-specific code on Windows when calling setCurrentThreadAsMessageThread()
This commit is contained in:
parent
58761a44c1
commit
76d5c07c66
1 changed files with 2 additions and 0 deletions
|
|
@ -231,9 +231,11 @@ void MessageManager::setCurrentThreadAsMessageThread()
|
|||
{
|
||||
messageThreadId = thisThread;
|
||||
|
||||
#if JUCE_WINDOWS
|
||||
// This is needed on windows to make sure the message window is created by this thread
|
||||
doPlatformSpecificShutdown();
|
||||
doPlatformSpecificInitialisation();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue