From 61befd2f85609e9cbaecd5f1daf7adbaa1070c76 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Fri, 10 Apr 2015 20:41:32 +0200 Subject: Voluntered to go for a beer walk. --- src/cachemanager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cachemanager.cc b/src/cachemanager.cc index e72ee37..81d809a 100644 --- a/src/cachemanager.cc +++ b/src/cachemanager.cc @@ -99,7 +99,7 @@ sample_t *CacheManager::open(AudioFile *file, size_t initial_samples_needed, int void CacheManager::close(cacheid_t id) { - if(CACHE_DUMMYID) return; + if(id == CACHE_DUMMYID) return; { event_t e = createEvent(id, CLEAN); -- cgit v1.2.3