@Override public synchronized void stop() throws Exception { if (isStarted()) { if (getHelper() != null) { getHelper().stop(); } super.stop(); } }
@Override public synchronized void stop() throws Exception { if (isStarted()) { // Must be invoked as a first step super.stop(); if (getHelper() != null) { getHelper().stop(); } } }