I’m invoking commands from the midi thread and encountered some problems with ApplicationCommandManager::sendListenerInvokeCallback().
As i’m in the midi thread, i asynchonously invoke commands.
But, as some commands can also be triggered by clicking on a button, ApplicationCommandManager::invoke() “synchronously” calls sendListenerInvokeCallback() to flash the concerned button.
This logically induces a checkMessageManagerIsLocked assertion failure…
Wouldn’t it be better to allow asynchronous Invoke Callbacks when ApplicationCommandManager::invoke() is called with the parameter ‘asynchronously’ set to true ?
And for the time, is there a solution to my problem ?
Thanx in advance !