mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-29 02:40:05 +00:00
Added some macros for asserting when functions are called in an unsafe manner outside the message thread.
This commit is contained in:
parent
482d87e2db
commit
5979288706
29 changed files with 115 additions and 69 deletions
|
|
@ -59,7 +59,7 @@ ThreadWithProgressWindow::~ThreadWithProgressWindow()
|
|||
|
||||
void ThreadWithProgressWindow::launchThread (int priority)
|
||||
{
|
||||
jassert (MessageManager::getInstance()->isThisTheMessageThread());
|
||||
JUCE_ASSERT_MESSAGE_THREAD
|
||||
|
||||
startThread (priority);
|
||||
startTimer (100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue