summaryrefslogtreecommitdiff
path: root/src/cachemanager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cachemanager.cc')
-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);