@Override
  public void postStop() throws Exception {
    super.postStop();

    log.info("Post stop on model saver");
    cluster.unsubscribe(getSelf());
  }
Example #2
0
 @Override
 public void postStop() {
   if (logger.isInfoEnabled()) {
     logger.info("UssdInterpreter postStop");
   }
   if (ussdCall != null) getContext().stop(ussdCall);
   if (outboundCall != null) getContext().stop(outboundCall);
   if (downloader != null) getContext().stop(downloader);
   if (parser != null) getContext().stop(parser);
   if (mailerNotify != null) getContext().stop(mailerNotify);
   super.postStop();
 }