diff options
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r-- | src/PatchageEvent.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index 3c9a82f..cef39f2 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -40,10 +40,12 @@ PatchageEvent::execute(Patchage* patchage) { if (_type == REFRESH) { patchage->refresh(); + } else if (_type == CLIENT_CREATION) { // No empty modules (for now) free(_str); _str = NULL; + } else if (_type == CLIENT_DESTRUCTION) { SharedPtr<PatchageModule> module = PtrCast<PatchageModule>( patchage->canvas()->find_module(_str, InputOutput)); |