src/loaders/support/LoaderWorkerDirector.js
function ( callbackOnFinishedProcessing ) {
		if ( this.logging.enabled ) console.info( 'WorkerDirector received the deregister call. Terminating all workers!' );

		this.instructionQueuePointer = this.instructionQueue.length;
		this.callbackOnFinishedProcessing = THREE.LoaderSupport.Validator.verifyInput( callbackOnFinishedProcessing, null );

		for ( var name in this.workerDescription.workerSupports ) {

			this.workerDescription.workerSupports[ name ].terminateRequested = true;

		}
	}
function ( callbackOnFinishedProcessing ) {
		if ( this.logging.enabled ) console.info( 'WorkerDirector received the deregister call. Terminating all workers!' );

		this.instructionQueuePointer = this.instructionQueue.length;
		this.callbackOnFinishedProcessing = THREE.LoaderSupport.Validator.verifyInput( callbackOnFinishedProcessing, null );

		for ( var name in this.workerDescription.workerSupports ) {

			this.workerDescription.workerSupports[ name ].terminateRequested = true;

		}
	}
function ( callbackOnFinishedProcessing ) { if ( this . logging . enabled ) console . info ( 'WorkerDirector received the deregister call. Terminating all workers!' ) ; this . instructionQueuePointer = this . instructionQueue . length ; this . callbackOnFinishedProcessing = THREE . LoaderSupport . Validator . verifyInput ( callbackOnFinishedProcessing , null ) ; for ( var name in this . workerDescription . workerSupports ) { this . workerDescription . workerSupports [ name ] . terminateRequested = true ; } }
Terminate all workers.

@param {callback} callbackOnFinishedProcessing Function called once all workers finished processing.
Terminate all workers .