summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-27 21:30:57 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-27 21:30:57 +0100
commit1240974d0bf25cd2dbca18e1573b3e10718f669a (patch)
treebd9c8333198abdfceff1b89679df16e785907c6a
parent353338072d43d41b416818f461a075512314587a (diff)
Make it possible to destroy the DrumkitLoader without setting a frame size.
-rw-r--r--src/drumkitloader.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drumkitloader.cc b/src/drumkitloader.cc
index e895474..7c532b4 100644
--- a/src/drumkitloader.cc
+++ b/src/drumkitloader.cc
@@ -43,6 +43,7 @@ DrumKitLoader::~DrumKitLoader()
{
DEBUG(loader, "~DrumKitLoader() pre\n");
if(running) {
+ framesize_semaphore.post();
stop();
}
DEBUG(loader, "~DrumKitLoader() post\n");