Browse Source

Update dpf, make sure to remove idle callback on UI destructor

pull/16/head
falkTX 3 years ago
parent
commit
11010b3f32
3 changed files with 8 additions and 2 deletions
  1. +1
    -1
      dpf
  2. +5
    -0
      plugins/Nekobi/DistrhoUINekobi.cpp
  3. +2
    -1
      plugins/Nekobi/DistrhoUINekobi.hpp

+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit ccece16081c89ead759394994f7251092938837e
Subproject commit 5618819a3c5d2f932b4d8b1d0422c1bd4b9d35ee

+ 5
- 0
plugins/Nekobi/DistrhoUINekobi.cpp View File

@@ -129,6 +129,11 @@ DistrhoUINekobi::DistrhoUINekobi()
addIdleCallback(this, 120);
}

DistrhoUINekobi::~DistrhoUINekobi()
{
removeIdleCallback(this);
}

// -----------------------------------------------------------------------
// DSP Callbacks



+ 2
- 1
plugins/Nekobi/DistrhoUINekobi.hpp View File

@@ -1,6 +1,6 @@
/*
* DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others.
* Copyright (C) 2013-2015 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2013-2021 Filipe Coelho <falktx@falktx.com>
*
* 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:
// -------------------------------------------------------------------


Loading…
Cancel
Save