summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index 03b17bf..6c639b8 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -62,10 +62,12 @@ DrumGizmo::DrumGizmo(Settings& settings,
{
audioCache.init(10000); // start thread
events.reserve(1000);
+ loader.init();
}
DrumGizmo::~DrumGizmo()
{
+ loader.deinit();
audioCache.deinit(); // stop thread
}