Fix hanging when closing the editor

This commit is contained in:
Robbert van der Helm
2020-04-21 16:50:13 +02:00
parent 8bedcbb997
commit d2bf5c35a4
4 changed files with 25 additions and 7 deletions
+3 -1
View File
@@ -67,6 +67,8 @@ class Editor {
AEffect* effect,
const size_t parent_window_handle);
~Editor();
/**
* Send a single `effEditIdle` event to the plugin to allow it to update its
* GUI state. This is called periodically from a timer while the GUI is
@@ -92,7 +94,7 @@ class Editor {
* The handle for the window created through Wine that the plugin uses to
* embed itself in.
*/
const std::unique_ptr<std::remove_pointer_t<HWND>, decltype(&DestroyWindow)>
std::unique_ptr<std::remove_pointer_t<HWND>, decltype(&DestroyWindow)>
win32_handle;
private: