From 1240974d0bf25cd2dbca18e1573b3e10718f669a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 27 Jan 2016 21:30:57 +0100 Subject: Make it possible to destroy the DrumkitLoader without setting a frame size. --- src/drumkitloader.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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"); -- cgit v1.2.3