From f450df300c9c057141a4caf79ff6dbfbf58492d9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 21 Dec 2009 18:23:07 +0000 Subject: fully implement and deploy explicit x-thread signal connection syntax (testing comes next) git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/pbd/memento_command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/pbd/pbd/memento_command.h') diff --git a/libs/pbd/pbd/memento_command.h b/libs/pbd/pbd/memento_command.h index b87f784334..a08d3bb717 100644 --- a/libs/pbd/pbd/memento_command.h +++ b/libs/pbd/pbd/memento_command.h @@ -42,7 +42,7 @@ public: : obj(a_object), before(a_before), after(a_after) { /* if the object dies, make sure that we die and that everyone knows about it */ - obj.GoingAway.connect (obj_death_connection, boost::bind (&MementoCommand::object_died, this)); + obj.GoingAway.connect_same_thread (obj_death_connection, boost::bind (&MementoCommand::object_died, this)); } ~MementoCommand () { -- cgit v1.2.3