summaryrefslogtreecommitdiff
path: root/Ivy/IvyApplication.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy/IvyApplication.cxx')
-rw-r--r--Ivy/IvyApplication.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Ivy/IvyApplication.cxx b/Ivy/IvyApplication.cxx
index 008be70..f0d4f75 100644
--- a/Ivy/IvyApplication.cxx
+++ b/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)