destroy() {
		if (this.connection !== undefined) {
			this.connection.removeAllListeners();
			this.connection.destroy();
			delete this.connection;
		}
		
		if (this.projector !== undefined) {
			this.projector.removeAllListeners();
			delete this.projector;
		}

		debug("destroy", this.id);
	}
/**
	 * Clean up the instance before it is destroyed.
	 *
	 * @access public
	 * @since 1.0.0
	 */
Clean up the instance before it is destroyed.
Clean up the instance before it is destroyed .
destroy() {
		if (this.connection !== undefined) {
			this.connection.removeAllListeners();
			this.connection.destroy();
			delete this.connection;
		}
		if (this.projector !== undefined) {
			this.projector.removeAllListeners();
			delete this.projector;
		}
		debug("destroy", this.id);
	}
destroy ( ) { if ( this . connection !== undefined ) { this . connection . removeAllListeners ( ) ; this . connection . destroy ( ) ; delete this . connection ; } if ( this . projector !== undefined ) { this . projector . removeAllListeners ( ) ; delete this . projector ; } debug ( "destroy" , this . id ) ; }
Clean up the instance before it is destroyed.
Clean up the instance before it is destroyed .