summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Bus/Ivy/IvyApplication.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bus/Ivy/IvyApplication.cxx b/Bus/Ivy/IvyApplication.cxx
index 008be70..f0d4f75 100644
--- a/Bus/Ivy/IvyApplication.cxx
+++ b/Bus/Ivy/IvyApplication.cxx
@@ -287,11 +287,12 @@ void IvyApplication::OnClose(int nErrorCode)
TRACE("Deconnexion de %s:%u\n", remotehost.c_str(), remoteport );
if ( AppConnectedCallbackCalled )
bus->CallApplicationDisconnectedCallback( this );
-// bus->RemoveApplication( this );
+
for ( unsigned int i = 0; i < regexp_in.size(); i++)
delete regexp_in[i];
regexp_in.clear();
Close();
+// bus->RemoveApplication( this );
}
int IvyApplication::SendMsg(const char *message)