void DisposeInner(bool silent = false)
{
if(!silent)
{
this.NoisyLog("About to dispose CPU.");
}
if(!PauseEvent.WaitOne(0))
{
if(!silent)
{
this.NoisyLog("Halting CPU.");
}
InnerPause(new HaltArguments(HaltReason.Abort));
}
started = false;
if(!silent)
{
this.NoisyLog("Disposing translation library.");
}
RemoveAllHooks();
TlibDispose();
EmulFreeHostBlocks();
binder.Dispose();
File.Delete(libraryFile);
memoryManager.CheckIfAllIsFreed();
StopGdbServer();
}