13
0

reset _signal member of a Connection so that we will never try to disconnect twice

git-svn-id: svn://localhost/ardour2/branches/3.0@12299 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-05-16 00:06:16 +00:00
parent 38dd633fc6
commit c1300a0172

View File

@ -57,6 +57,7 @@ public:
boost::mutex::scoped_lock lm (_mutex); boost::mutex::scoped_lock lm (_mutex);
if (_signal) { if (_signal) {
_signal->disconnect (shared_from_this ()); _signal->disconnect (shared_from_this ());
_signal = 0;
} }
} }