summaryrefslogtreecommitdiffstats
path: root/src/server/Engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Engine.cpp')
-rw-r--r--src/server/Engine.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp
index c5a7bddd..85ca530c 100644
--- a/src/server/Engine.cpp
+++ b/src/server/Engine.cpp
@@ -218,8 +218,9 @@ Engine::activate()
make_pair(uris.ingen_canvasY,
Resource::Property(forge.make(32.0f), Resource::EXTERNAL)));
+ SharedPtr<Interface> respondee;
execute_and_delete_event(
- context, new Events::CreatePort(*this, NULL, -1, 0,
+ context, new Events::CreatePort(*this, respondee, -1, 0,
"/control_in", false, in_properties));
// Add control out
@@ -236,7 +237,7 @@ Engine::activate()
Resource::Property(forge.make(32.0f), Resource::EXTERNAL)));
execute_and_delete_event(
- context, new Events::CreatePort(*this, NULL, -1, 0,
+ context, new Events::CreatePort(*this, respondee, -1, 0,
"/control_out", true, out_properties));
}