mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
This commit is contained in:
parent
fc304f1be0
commit
c760e69648
8 changed files with 21 additions and 20 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue