Akka.Streams.Tests.Performance.IO.FileSourcesBenchmark.Shutdown C# (CSharp) 메소드

Shutdown() 개인적인 메소드

private Shutdown ( ) : void
리턴 void
        public void Shutdown()
        {
            _actorSystem.Terminate().Wait(TimeSpan.FromSeconds(5));
            try
            {
                _file.Delete();
            }
            catch 
            {
                //try again...
                Thread.Sleep(TimeSpan.FromSeconds(10));
                _file.Delete();
            }
        }