Bevisuali.Model.Workbench.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose()
        {
            _scenariosThreadCancel = true;
            _learningTasksThreadCancel = true;
            _networkLayoutThreadCancel = true;

            _scenariosThread.Join(1000);
            _scenariosThread.Abort();
            _learningTasksThread.Join(1000);
            _learningTasksThread.Abort();
            _networkLayoutThread.Join(1000);
        }