From a567c1e293909d15d6ad76c4e4af0fc1b0978ad3 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(-) (limited to 'src') 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