internal bool CleanupServer()
{
bool result = true;
try
{
if(_owinServer != null)
{
_owinServer.Dispose();
_owinServer = null;
}
}
catch(Exception ex)
{
LogException(ex);
result = false;
}
try
{
DebugDispatcher.Instance.Shutdown();
}
catch(Exception ex)
{
LogException(ex);
result = false;
}
// shutdown the storage layer ;)
try
{
}
catch(Exception e)
{
LogException(e);
}
TerminateGcManager();
return result;
}