public void stop(int svc) throws ChannelException { running = false; if ( thread != null ) thread.interrupt(); thread = null; super.stop(svc); }
@Override public void stop(int svc) throws ChannelException { running = false; if ( thread != null ) { thread.interrupt(); thread = null; } super.stop(svc); }
@Override public synchronized void stop(int svc) throws ChannelException { running = false; if (thread != null) { thread.interrupt(); thread = null; } super.stop(svc); }
@Override public void stop(int svc) throws ChannelException { running = false; if ( thread != null ) { thread.interrupt(); thread = null; } super.stop(svc); }