src/com/blankcanvas/video/stream/duplicator/DuplicateGroup.java
/**
	 * This stream has ended. Clean up everything that needs cleaning up.
	 */
This stream has ended. Clean up everything that needs cleaning up.
This stream has ended . Clean up everything that needs cleaning up .
public synchronized void stopDuplication() {
		this.isShuttingDown = true;
		stopPublishers();
     executorService.shutdown();
     try {
         if (!executorService.awaitTermination(1000, TimeUnit.MILLISECONDS)) {
             executorService.shutdownNow();
         }
     } catch (InterruptedException e) {
         executorService.shutdownNow();
     }
	}
public synchronized void stopDuplication ( ) { this . isShuttingDown = true ; stopPublishers ( ) ; executorService . shutdown ( ) ; try { if ( ! executorService . awaitTermination ( 1000 , TimeUnit . MILLISECONDS ) ) { executorService . shutdownNow ( ) ; } } catch ( InterruptedException e ) { executorService . shutdownNow ( ) ; } }
This stream has ended.
This stream has ended .
// stop all publishers associated with this stream