Exemplo n.º 1
0
 public IActionResult Stop()
 {
     Log.v(Tag, "Stopping service.");
     engine.Stop();
     return(new NinHtmlResult("Stopping service..."));
 }
Exemplo n.º 2
0
 protected override void OnStopping()
 {
     process.Stop();
     base.OnStopping();
 }