summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-06-09 17:21:44 +0000
committerDavid Robillard <d@drobilla.net>2008-06-09 17:21:44 +0000
commit4e736d0b31c56a7ab397c7399b3a53f726466c78 (patch)
treea9640733f976926b5e4a9ddcea4fcffed9337fbe /src/libs/engine/events
parentb3448dcc7c06fb19daee66dc2cf1cea79086e770 (diff)
downloadingen-4e736d0b31c56a7ab397c7399b3a53f726466c78.tar.gz
ingen-4e736d0b31c56a7ab397c7399b3a53f726466c78.tar.bz2
ingen-4e736d0b31c56a7ab397c7399b3a53f726466c78.zip
Bump liblo dependency to 0.24.
Bundleify communications where order is relevant (fixes 'random' issues like node positions being off, ticket #89, etc). git-svn-id: http://svn.drobilla.net/lad/ingen@1248 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events')
-rw-r--r--src/libs/engine/events/DestroyEvent.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/engine/events/DestroyEvent.cpp b/src/libs/engine/events/DestroyEvent.cpp
index 9a235807..eef7ea0e 100644
--- a/src/libs/engine/events/DestroyEvent.cpp
+++ b/src/libs/engine/events/DestroyEvent.cpp
@@ -182,16 +182,20 @@ DestroyEvent::post_process()
assert(_node);
_node->deactivate();
_responder->respond_ok();
+ _engine.broadcaster()->bundle_begin();
if (_disconnect_node_event)
_disconnect_node_event->post_process();
_engine.broadcaster()->send_destroyed(_path);
+ _engine.broadcaster()->bundle_end();
_engine.maid()->push(_patch_node_listnode);
} else if (_patch_port_listnode) {
assert(_port);
_responder->respond_ok();
+ _engine.broadcaster()->bundle_begin();
if (_disconnect_port_event)
_disconnect_port_event->post_process();
_engine.broadcaster()->send_destroyed(_path);
+ _engine.broadcaster()->bundle_end();
_engine.maid()->push(_patch_port_listnode);
} else {
_responder->respond_error("Unable to destroy object");