reset _execution_tokens to 0 in Graph::drop_threads()
authorTorben Hohn <torbenh@gmx.de>
Tue, 22 Feb 2011 02:06:46 +0000 (02:06 +0000)
committerTorben Hohn <torbenh@gmx.de>
Tue, 22 Feb 2011 02:06:46 +0000 (02:06 +0000)
this was causing false thread wakeups.

git-svn-id: svn://localhost/ardour2/branches/3.0@8921 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/graph.cc

index 2ac465f1e97ffaeab447427807bd607419019271..5c0d41ed17e93e853aa6de02a2489cd74de6fea2 100644 (file)
@@ -160,6 +160,8 @@ Graph::drop_threads ()
 
         _thread_list.clear ();
 
+       _execution_tokens = 0;
+
         _quit_threads = false;
 }