diff --git a/dpf b/dpf index ccece16..5618819 160000 --- a/dpf +++ b/dpf @@ -1 +1 @@ -Subproject commit ccece16081c89ead759394994f7251092938837e +Subproject commit 5618819a3c5d2f932b4d8b1d0422c1bd4b9d35ee diff --git a/plugins/Nekobi/DistrhoUINekobi.cpp b/plugins/Nekobi/DistrhoUINekobi.cpp index 670dfce..4c53224 100644 --- a/plugins/Nekobi/DistrhoUINekobi.cpp +++ b/plugins/Nekobi/DistrhoUINekobi.cpp @@ -129,6 +129,11 @@ DistrhoUINekobi::DistrhoUINekobi() addIdleCallback(this, 120); } +DistrhoUINekobi::~DistrhoUINekobi() +{ + removeIdleCallback(this); +} + // ----------------------------------------------------------------------- // DSP Callbacks diff --git a/plugins/Nekobi/DistrhoUINekobi.hpp b/plugins/Nekobi/DistrhoUINekobi.hpp index 7cfeb5c..8106308 100644 --- a/plugins/Nekobi/DistrhoUINekobi.hpp +++ b/plugins/Nekobi/DistrhoUINekobi.hpp @@ -1,6 +1,6 @@ /* * DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others. - * Copyright (C) 2013-2015 Filipe Coelho + * Copyright (C) 2013-2021 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -42,6 +42,7 @@ class DistrhoUINekobi : public UI, { public: DistrhoUINekobi(); + ~DistrhoUINekobi() override; protected: // -------------------------------------------------------------------