summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/CreateNodeEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-19 21:42:33 +0000
committerDavid Robillard <d@drobilla.net>2008-08-19 21:42:33 +0000
commit2fbdcbaeb28e62fffb4c63c5118fdc5243b426bc (patch)
treee193d022027996b0ca4049b864e4f715f96ad5ce /src/libs/engine/events/CreateNodeEvent.cpp
parentfcc7d4c4d708bce9976739d45a3f2bc535dcff33 (diff)
downloadingen-2fbdcbaeb28e62fffb4c63c5118fdc5243b426bc.tar.gz
ingen-2fbdcbaeb28e62fffb4c63c5118fdc5243b426bc.tar.bz2
ingen-2fbdcbaeb28e62fffb4c63c5118fdc5243b426bc.zip
Gracefully handle full event queue on the engine side (fix loading massive patches).
git-svn-id: http://svn.drobilla.net/lad/ingen@1450 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/CreateNodeEvent.cpp')
-rw-r--r--src/libs/engine/events/CreateNodeEvent.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libs/engine/events/CreateNodeEvent.cpp b/src/libs/engine/events/CreateNodeEvent.cpp
index 49cbb58e..a3681597 100644
--- a/src/libs/engine/events/CreateNodeEvent.cpp
+++ b/src/libs/engine/events/CreateNodeEvent.cpp
@@ -87,8 +87,6 @@ CreateNodeEvent::pre_process()
if (_patch && plugin) {
- Glib::Mutex::Lock lock(_engine.world()->rdf_world->mutex());
-
_node = plugin->instantiate(_path.name(), _polyphonic, _patch,
_engine.audio_driver()->sample_rate(), _engine.audio_driver()->buffer_size());