|
|
|
@ -569,13 +569,13 @@ void release()
|
|
|
|
|
releaseCommands();
|
|
|
|
|
|
|
|
|
|
// Exit config file stuff
|
|
|
|
|
ClientCfg.release ();
|
|
|
|
|
ClientCfg.release();
|
|
|
|
|
|
|
|
|
|
// Disconnect the client from the server.
|
|
|
|
|
NetMngr.disconnect();
|
|
|
|
|
|
|
|
|
|
// delete the sound manager
|
|
|
|
|
if(SoundMngr)
|
|
|
|
|
if (SoundMngr)
|
|
|
|
|
{
|
|
|
|
|
delete SoundMngr;
|
|
|
|
|
SoundMngr = NULL;
|
|
|
|
@ -583,16 +583,16 @@ void release()
|
|
|
|
|
|
|
|
|
|
// Release the Entities Animation Manager
|
|
|
|
|
CEntityAnimationManager::delInstance();
|
|
|
|
|
EAM= NULL;
|
|
|
|
|
EAM = NULL;
|
|
|
|
|
|
|
|
|
|
nldebug("VR [C]: VR Shutting down");
|
|
|
|
|
releaseStereoDisplayDevice();
|
|
|
|
|
|
|
|
|
|
// Delete the driver.
|
|
|
|
|
if(Driver)
|
|
|
|
|
if (Driver)
|
|
|
|
|
{
|
|
|
|
|
// Release the prim
|
|
|
|
|
PrimFiles.release (*Driver);
|
|
|
|
|
PrimFiles.release(*Driver);
|
|
|
|
|
|
|
|
|
|
if (TextContext != NULL)
|
|
|
|
|
Driver->deleteTextContext(TextContext);
|
|
|
|
@ -617,13 +617,13 @@ void release()
|
|
|
|
|
EventsListener.removeFromServer(CInputHandlerManager::getInstance()->FilteredEventServer);
|
|
|
|
|
|
|
|
|
|
IDisplayer *clientLogDisplayer = ErrorLog->getDisplayer("CLIENT.LOG");
|
|
|
|
|
if( clientLogDisplayer )
|
|
|
|
|
if (clientLogDisplayer)
|
|
|
|
|
{
|
|
|
|
|
DebugLog->removeDisplayer (clientLogDisplayer);
|
|
|
|
|
InfoLog->removeDisplayer (clientLogDisplayer);
|
|
|
|
|
WarningLog->removeDisplayer (clientLogDisplayer);
|
|
|
|
|
ErrorLog->removeDisplayer (clientLogDisplayer);
|
|
|
|
|
AssertLog->removeDisplayer (clientLogDisplayer);
|
|
|
|
|
DebugLog->removeDisplayer(clientLogDisplayer);
|
|
|
|
|
InfoLog->removeDisplayer(clientLogDisplayer);
|
|
|
|
|
WarningLog->removeDisplayer(clientLogDisplayer);
|
|
|
|
|
ErrorLog->removeDisplayer(clientLogDisplayer);
|
|
|
|
|
AssertLog->removeDisplayer(clientLogDisplayer);
|
|
|
|
|
delete clientLogDisplayer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|