summaryrefslogtreecommitdiffstats
path: root/src/server/events/Delta.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-06-29 23:06:19 +0000
committerDavid Robillard <d@drobilla.net>2012-06-29 23:06:19 +0000
commit8f7f419adcfcd6cd7557b82266b064ed242793ad (patch)
treee0004f6eec4958260df53c711ac2c92d85e8f4cc /src/server/events/Delta.cpp
parent6eb584d3b0bc67fc8de36baba5e296d816ba080f (diff)
downloadingen-8f7f419adcfcd6cd7557b82266b064ed242793ad.tar.gz
ingen-8f7f419adcfcd6cd7557b82266b064ed242793ad.tar.bz2
ingen-8f7f419adcfcd6cd7557b82266b064ed242793ad.zip
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
Diffstat (limited to 'src/server/events/Delta.cpp')
-rw-r--r--src/server/events/Delta.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp
index c0750285..8da4b230 100644
--- a/src/server/events/Delta.cpp
+++ b/src/server/events/Delta.cpp
@@ -48,15 +48,15 @@ namespace Events {
typedef Resource::Properties Properties;
-Delta::Delta(Engine& engine,
- Interface* client,
- int32_t id,
- SampleCount timestamp,
- bool create,
- Resource::Graph context,
- const Raul::URI& subject,
- const Properties& properties,
- const Properties& remove)
+Delta::Delta(Engine& engine,
+ SharedPtr<Interface> client,
+ int32_t id,
+ SampleCount timestamp,
+ bool create,
+ Resource::Graph context,
+ const Raul::URI& subject,
+ const Properties& properties,
+ const Properties& remove)
: Event(engine, client, id, timestamp)
, _create_event(NULL)
, _subject(subject)