summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/OSCResponder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/OSCResponder.cpp')
-rw-r--r--src/libs/engine/OSCResponder.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libs/engine/OSCResponder.cpp b/src/libs/engine/OSCResponder.cpp
index acc7e7ac..7a63c180 100644
--- a/src/libs/engine/OSCResponder.cpp
+++ b/src/libs/engine/OSCResponder.cpp
@@ -54,6 +54,10 @@ OSCResponder::~OSCResponder()
void
OSCResponder::respond_ok()
{
+ SharedPtr<ClientInterface> client = this->client();
+ if (client)
+ client->enable();
+
_addr = lo_address_new_from_url(_url);
//cerr << "OK " << _id << endl;
@@ -67,6 +71,10 @@ OSCResponder::respond_ok()
void
OSCResponder::respond_error(const string& msg)
{
+ SharedPtr<ClientInterface> client = this->client();
+ if (client)
+ client->enable();
+
_addr = lo_address_new_from_url(_url);
//cerr << "ERR " << _id << endl;