Beispiel #1
0
 public async Task StopAsync()
 {
     Trace.TraceInformation("Yams WorkerRole is stopping");
     RoleEnvironment.Changing -= RoleEnvironmentChanging;
     if (_yamsEntryPoint != null)
     {
         await _yamsEntryPoint.Stop();
     }
     base.OnStop();
     Trace.TraceInformation("Yams has stopped");
 }
Beispiel #2
0
 public void TestCleanup()
 {
     _yamsEntryPoint.Stop().Wait();
     DeleteDirectory(_testDirPath);
 }