summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/NodeModule.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index d73c9ee9..420bcb28 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -70,7 +70,8 @@ NodeModule::NodeModule(PatchCanvas& canvas,
NodeModule::~NodeModule()
{
- embed_gui(false);
+ delete _gui_widget;
+ delete _gui_window;
NodeControlWindow* win = app().window_factory()->control_window(_node);
delete win; // Will be removed from window factory via signal