Beispiel #1
0
 protected override Task Stopping(CancellationToken cancellationToke)
 {
     _dispatcher.Close();
     return(Task.CompletedTask);
 }
Beispiel #2
0
 protected override Task Stopping(CancellationToken cancellationToke)
 {
     _dispatcher.Close();
     TracingContext.ListenerManager.Remove(this);
     return(Task.CompletedTask);
 }