Commit 385b1e43 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Added missing lock to ~TextureUnit().

refs #641
parent 9185b628
......@@ -51,6 +51,8 @@ TextureUnit::TextureUnit(bool keep)
TextureUnit::~TextureUnit() {
if (assigned_ && !keep_) {
tbb::spin_mutex::scoped_lock lock(mutex_); = false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment