public static void shutdown() { if (shaper != null) { shaper.release(); shaper = null; } if (executorService != null) { executorService.shutdownNow(); executorService = null; } }
public static void shutdown() { if (shaper != null) { shaper.release(); shaper = null; } if (executorService != null) { executorService.shutdownNow(); executorService = null; } }
((GlobalTrafficShapingHandler) handler).release();