summaryrefslogtreecommitdiffstats
path: root/src/server/events/Connect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events/Connect.cpp')
-rw-r--r--src/server/events/Connect.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp
index 8880322d..f0ba39bb 100644
--- a/src/server/events/Connect.cpp
+++ b/src/server/events/Connect.cpp
@@ -1,6 +1,6 @@
/*
This file is part of Ingen.
- Copyright 2007-2015 David Robillard <http://drobilla.net/>
+ Copyright 2007-2016 David Robillard <http://drobilla.net/>
Ingen is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
@@ -168,6 +168,12 @@ Connect::post_process()
}
}
+void
+Connect::undo(Interface& target)
+{
+ target.disconnect(_tail_path, _head_path);
+}
+
} // namespace Events
} // namespace Server
} // namespace Ingen