From 8f7f419adcfcd6cd7557b82266b064ed242793ad Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 29 Jun 2012 23:06:19 +0000 Subject: Fix crashes caused by events attempting to respond to deleted clients (fix #842). This one mainly manifested when using ingenish from the command line since the client is so short lived. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4503 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/DisconnectAll.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/server/events/DisconnectAll.cpp') diff --git a/src/server/events/DisconnectAll.cpp b/src/server/events/DisconnectAll.cpp index d9f8b8c1..d360073c 100644 --- a/src/server/events/DisconnectAll.cpp +++ b/src/server/events/DisconnectAll.cpp @@ -40,12 +40,12 @@ namespace Ingen { namespace Server { namespace Events { -DisconnectAll::DisconnectAll(Engine& engine, - Interface* client, - int32_t id, - SampleCount timestamp, - const Raul::Path& parent_path, - const Raul::Path& node_path) +DisconnectAll::DisconnectAll(Engine& engine, + SharedPtr client, + int32_t id, + SampleCount timestamp, + const Raul::Path& parent_path, + const Raul::Path& node_path) : Event(engine, client, id, timestamp) , _parent_path(parent_path) , _path(node_path) -- cgit v1.2.1