1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00
This commit is contained in:
jules 2007-12-06 15:54:25 +00:00
parent fc304f1be0
commit c760e69648
8 changed files with 21 additions and 20 deletions

View file

@ -190,6 +190,10 @@ bool ApplicationCommandManager::invokeDirectly (const CommandID commandID, const
bool ApplicationCommandManager::invoke (const ApplicationCommandTarget::InvocationInfo& info_, const bool asynchronously)
{
// This call isn't thread-safe for use from a non-UI thread without locking the message
// manager first..
checkMessageManagerIsLocked
ApplicationCommandTarget* const target = getFirstCommandTarget (info_.commandID);
if (target == 0)