diff options
author | David Robillard <d@drobilla.net> | 2006-09-09 21:42:33 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-09-09 21:42:33 +0000 |
commit | a90181962d3f9eca3e00f665465bbd66bdd79927 (patch) | |
tree | bcebc1dc25b788cbd647f70068cd6d1ff40ac722 /src/libs/engine/events/DisconnectionEvent.cpp | |
parent | fca95e5d454d37bd74b98f5bce35cfcbaee86c3f (diff) | |
download | ingen-a90181962d3f9eca3e00f665465bbd66bdd79927.tar.gz ingen-a90181962d3f9eca3e00f665465bbd66bdd79927.tar.bz2 ingen-a90181962d3f9eca3e00f665465bbd66bdd79927.zip |
Canvas cleanups, bugfixes, more robustness, etc.
git-svn-id: http://svn.drobilla.net/lad/ingen@124 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/DisconnectionEvent.cpp')
-rw-r--r-- | src/libs/engine/events/DisconnectionEvent.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/engine/events/DisconnectionEvent.cpp b/src/libs/engine/events/DisconnectionEvent.cpp index 7e050369..a83e6e3f 100644 --- a/src/libs/engine/events/DisconnectionEvent.cpp +++ b/src/libs/engine/events/DisconnectionEvent.cpp @@ -125,6 +125,7 @@ DisconnectionEvent::pre_process() assert(m_typed_event); m_typed_event->pre_process(); + assert(m_typed_event->is_prepared()); QueuedEvent::pre_process(); } @@ -235,6 +236,8 @@ template <typename T> void TypedDisconnectionEvent<T>::execute(SampleCount nframes, FrameTime start, FrameTime end) { + QueuedEvent::execute(nframes, start, end); + if (m_succeeded) { ListNode<TypedConnection<T>*>* const port_connection @@ -259,7 +262,6 @@ TypedDisconnectionEvent<T>::execute(SampleCount nframes, FrameTime start, FrameT m_succeeded = false; // Ports weren't connected } } - QueuedEvent::execute(nframes, start, end); } |