diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2015-04-10 20:41:32 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-20 13:22:09 +0100 |
commit | 61befd2f85609e9cbaecd5f1daf7adbaa1070c76 (patch) | |
tree | 574c36a80b25f15eb12f60b003e001e102cad4e5 /src/cachemanager.cc | |
parent | 0c474ca66e1d510cb3fbcfdce498afbf9e0c190d (diff) |
Voluntered to go for a beer walk.
Diffstat (limited to 'src/cachemanager.cc')
-rw-r--r-- | src/cachemanager.cc | 2 |
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); |