Emul8.Peripherals.CPU.TranslationCPU.DisposeInner C# (CSharp) Method

DisposeInner() public method

public DisposeInner ( bool silent = false ) : void
silent bool
return void
        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();
        }
TranslationCPU