We have to call close_view(), which calls IPlugView::removed() before destroying the parent widget. Previously ~VST3PluginUI() was called after the derived class destroyed the owned private `_gui_widget`, `_ns_view` or x11 parent. On windows that may lead to the hwnd of the window becoming invalid before the call to ::removed().
4.3 KiB
4.3 KiB