Run certain GUI tasks from the host's run loop

This was a bit of a tricky one because it requires simulating mutual
recursion, but it's needed for REAPER as otherwide calls to
`IPlugFrame::resizeView()` and `IContextMenu::popup()` might cause
REAPER to segfault because its GUI is not thread safe.
This commit is contained in:
Robbert van der Helm
2021-01-18 14:19:31 +01:00
parent 5ad47c8c68
commit bb5471f2d9
5 changed files with 333 additions and 30 deletions
+1
View File
@@ -454,6 +454,7 @@ if with_vst3
boost_dep,
boost_filesystem_dep,
bitsery_dep,
function2_dep,
threads_dep,
tomlplusplus_dep,
vst3_sdk_native_dep,