diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-10-03 16:26:24 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-10-03 16:26:24 +0200 |
commit | bb65f0fc2176b2ebf0f1be682008609e8bd2cb0a (patch) | |
tree | d0070ad2ef70b1a7c2ed77cec098d03402d0871f /src/recorder.cpp | |
parent | 920067622e7ba72dd6947eb8e7875719315872b9 (diff) | |
download | osc-graphics-bb65f0fc2176b2ebf0f1be682008609e8bd2cb0a.tar.gz |
simplified mutex locking idiom by introducing Mutex class (wrapper around SDL_mutex)
* can be instantiated
* can derive from class Mutex to inherit the lock()/unlock() methods
also fixed LayerList destructor
Diffstat (limited to 'src/recorder.cpp')
-rw-r--r-- | src/recorder.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/recorder.cpp b/src/recorder.cpp index 6859f1b..0bd7b23 100644 --- a/src/recorder.cpp +++ b/src/recorder.cpp @@ -126,5 +126,4 @@ Recorder::~Recorder() osc_server.del_method("", "/recorder/stop"); SDL_FFMPEGFREE_SAFE(file); - SDL_DestroyMutex(mutex); } |