From 4e736d0b31c56a7ab397c7399b3a53f726466c78 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Jun 2008 17:21:44 +0000 Subject: 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 --- src/libs/engine/events/DestroyEvent.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libs/engine/events') 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"); -- cgit v1.2.1