summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/DisablePatchEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/DisablePatchEvent.cpp')
-rw-r--r--src/libs/engine/events/DisablePatchEvent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/events/DisablePatchEvent.cpp b/src/libs/engine/events/DisablePatchEvent.cpp
index 064dd9fd..8e6d64a1 100644
--- a/src/libs/engine/events/DisablePatchEvent.cpp
+++ b/src/libs/engine/events/DisablePatchEvent.cpp
@@ -46,10 +46,10 @@ DisablePatchEvent::pre_process()
void
DisablePatchEvent::execute(SampleCount nframes, FrameTime start, FrameTime end)
{
+ QueuedEvent::execute(nframes, start, end);
+
if (m_patch != NULL)
m_patch->disable();
-
- QueuedEvent::execute(nframes, start, end);
}