projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4286653
)
Make it ok to call terminate_threads twice.
author
Carl Hetherington
<cth@carlh.net>
Tue, 4 Jun 2013 10:45:45 +0000
(11:45 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 4 Jun 2013 10:45:45 +0000
(11:45 +0100)
src/lib/encoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/encoder.cc
b/src/lib/encoder.cc
index 8549962ff01807505683266e778d16c4c8eaef43..2c989452d012b7773cda11f97c91ee5341e3e0d4 100644
(file)
--- a/
src/lib/encoder.cc
+++ b/
src/lib/encoder.cc
@@
-342,6
+342,8
@@
Encoder::terminate_threads ()
}
delete *i;
}
+
+ _threads.clear ();
}
void