summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/DisconnectionEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-01-08 02:41:36 +0000
committerDavid Robillard <d@drobilla.net>2007-01-08 02:41:36 +0000
commitc5218b13bac00fbd8c3ceb99b46063b98bc1fdd3 (patch)
treecedcc8e24a0db8d0a40bcfececc25e66df2387e1 /src/libs/engine/events/DisconnectionEvent.cpp
parent813e0cbb39809d7cf837e6b91a75815079502f47 (diff)
downloadingen-c5218b13bac00fbd8c3ceb99b46063b98bc1fdd3.tar.gz
ingen-c5218b13bac00fbd8c3ceb99b46063b98bc1fdd3.tar.bz2
ingen-c5218b13bac00fbd8c3ceb99b46063b98bc1fdd3.zip
Fix destruction of nodes with connections to parent patch ports.
git-svn-id: http://svn.drobilla.net/lad/ingen@241 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/DisconnectionEvent.cpp')
-rw-r--r--src/libs/engine/events/DisconnectionEvent.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/engine/events/DisconnectionEvent.cpp b/src/libs/engine/events/DisconnectionEvent.cpp
index ef7046b8..8dc9e617 100644
--- a/src/libs/engine/events/DisconnectionEvent.cpp
+++ b/src/libs/engine/events/DisconnectionEvent.cpp
@@ -60,11 +60,12 @@ DisconnectionEvent::DisconnectionEvent(Engine& engine, SharedPtr<Responder> resp
m_typed_event(NULL),
m_error(NO_ERROR)
{
- assert(src_port->is_output());
+ // FIXME: These break for patch ports.. is that ok?
+ /*assert(src_port->is_output());
assert(dst_port->is_input());
assert(src_port->type() == dst_port->type());
assert(src_port->parent_node()->parent_patch()
- == dst_port->parent_node()->parent_patch());
+ == dst_port->parent_node()->parent_patch()); */
}
DisconnectionEvent::~DisconnectionEvent()