public void removeTaskListener(GTaskListener listener) {
		lock.lock();
		try {
			if (taskListener instanceof MulticastTaskListener) {
				taskListener = ((MulticastTaskListener) taskListener).removeListener(listener);
			}
			else if (taskListener == listener) {
				taskListener = null;
			}
		}
		finally {
			lock.unlock();
		}
	}
Removes the given GTaskListener from this queue. 
@param listener the listener to remove.
Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManager.java