예제 #1
0
 private void OnShutdown()
 {
     _rabbitEndpoint.StopListening();
 }
예제 #2
0
 private static void SigTermEventHandler(AssemblyLoadContext obj)
 {
     Log.Information("Unloading...");
     _rabbitEndpoint.StopListening();
     _pipeline.Close();
 }