private void Shutdown()
{
_shuttingDown = true;
// TODO
/*idAsyncNetwork::server.Kill();
idAsyncNetwork::client.Shutdown();*/
// game specific shut down
// TODO: ShutdownGame( false );
// shut down non-portable system services
// TODO: Sys_Shutdown();
// shut down the console
// TODO: console->Shutdown();
// shut down the key system
// TODO: idKeyInput::Shutdown();
// shut down the cvar system
// TODO: cvarSystem->Shutdown();
// shut down the console command system
// TODO: cmdSystem->Shutdown();
// TODO
/*#ifdef ID_WRITE_VERSION
delete config_compressor;
config_compressor = NULL;
#endif*/
// free any buffered warning messages
idConsole.ClearWarnings(string.Format("{0} shutdown", idE.GameName));
_errorList.Clear();
// free language dictionary
// TODO: languageDict.Clear();
// enable leak test
// TODO: Mem_EnableLeakTest( "doom" );
// shutdown idLib
// TODO: idLib::ShutDown();
}