From 44cdd898f7efcf7958c1d0634c99363608dbfeb7 Mon Sep 17 00:00:00 2001 From: Vincenzo Sicurella Date: Sun, 28 Jul 2024 17:23:10 -0400 Subject: [PATCH] fix keyboard click listener destruct --- Source/mapping_editors/KeyboardClickListener.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/mapping_editors/KeyboardClickListener.cpp b/Source/mapping_editors/KeyboardClickListener.cpp index c464cfa..b3ed8ed 100644 --- a/Source/mapping_editors/KeyboardClickListener.cpp +++ b/Source/mapping_editors/KeyboardClickListener.cpp @@ -13,6 +13,7 @@ KeyboardClickListener::KeyboardClickListener(const LumatoneEditorState &stateIn, KeyboardClickListener::~KeyboardClickListener() { + removeColourSelectionBroadcaster(this); keyboardComponent->removeListener(this); }