summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r--src/PatchageModule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp
index 6ebf335..2d53a27 100644
--- a/src/PatchageModule.cpp
+++ b/src/PatchageModule.cpp
@@ -32,6 +32,7 @@ PatchageModule::PatchageModule(
PatchageModule::~PatchageModule()
{
+ _app->canvas()->remove_module(this);
delete _menu;
_menu = NULL;
}