Example #1
0
 void teardown(@Observes final Shutdown shutdown, final Event<PreShutdown> preShutdown) {
   preShutdown.fire(new PreShutdown(shutdown.getStatus()));
   exitRequested = true;
   if (inputPipe != null) {
     inputPipe.stop();
   }
 }