Apply the mutual recursion changes to Vst3Bridge

I've never seen this happen, but now this too would support deeply
nested mutual recursion just like we implemented in
`Vst3PlugViewProxyImpl`. Better safe than sorry.
This commit is contained in:
Robbert van der Helm
2021-01-19 23:52:00 +01:00
parent 23d9b7416d
commit c08d704dc0
2 changed files with 31 additions and 35 deletions
@@ -228,8 +228,6 @@ class Vst3PlugViewProxyImpl : public Vst3PlugViewProxy {
// support multiple levels of mutual recursion. This could happen during
// `IPlugView::attached() -> IPlugFrame::resizeView() ->
// IPlugView::onSize()`.
// TODO: If this stack-of-io-contexts approach works, apply the same
// thing in `Vst3Brdige`
std::shared_ptr<boost::asio::io_context> current_io_context =
std::make_shared<boost::asio::io_context>();
{