summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2015-04-10 20:41:32 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2015-04-10 20:41:32 +0200
commita567c1e293909d15d6ad76c4e4af0fc1b0978ad3 (patch)
treeb527d0c52b170dbfebd8b66e29c0fc1ab15d6e23
parenta669ef74a829d12897c70e6d00dea0a0ead25070 (diff)
Voluntered to go for a beer walk.
-rw-r--r--src/cachemanager.cc2
1 files changed, 1 insertions, 1 deletions
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);