From 711c34803c7d78d19418cd3ed4af2865c7e78759 Mon Sep 17 00:00:00 2001 From: prascle Date: Wed, 7 Apr 2004 14:15:19 +0000 Subject: [PATCH] PR: patch to avoid seg fault when closing --- src/Session/Session_ServerThread.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Session/Session_ServerThread.cxx b/src/Session/Session_ServerThread.cxx index 1cf8ca856..3e61eea0a 100644 --- a/src/Session/Session_ServerThread.cxx +++ b/src/Session/Session_ServerThread.cxx @@ -350,7 +350,8 @@ void Session_ServerThread::ActivateRegistry(int argc, Registry::Components_var varComponents; try { - RegistryService *ptrRegistry = SINGLETON_::Instance(); + //RegistryService *ptrRegistry = SINGLETON_::Instance(); + RegistryService *ptrRegistry = new RegistryService(); ptrRegistry->SessionName( ptrSessionName ); varComponents = ptrRegistry->_this(); // The RegistryService must not already exist. -- 2.39.2