Пример #1
0
  private void cleanUp(int exitStatusCode) {
    _taskExecutor.stop();

    if (_shutdownAction != null) {
      _shutdownAction.performAction(exitStatusCode);
    }

    _systemConfig = null;
  }
 @Override
 public void tearDown() throws Exception {
   try {
     if (_taskExecutor != null) {
       _taskExecutor.stop();
     }
   } finally {
     super.tearDown();
   }
 }