Artemis.Modules.Games.TheDivision.TheDivisionModel.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public override void Dispose()
        {
            Initialized = false;

            // Delay restoring the DLL to allow The Division to release it
            Task.Factory.StartNew(() =>
            {
                Thread.Sleep(2000);
                DllManager.RestoreLogitechDll();
            });

            _stickyAmmo.Dispose();
            _stickyHp.Dispose();

            MainManager.PipeServer.PipeMessage -= PipeServerOnPipeMessage;
        }