unregister Capacity Change Queue
Unregisters a queue from this resource, so that units freed on it are no longer offered to the requests in queue. If the queue was not registered, nothing occurs.
Use it only for a queue you have finished with. A seize that waits in queue registers it again, and a request left waiting in an unregistered queue is reached only by releases made through that queue, so it could wait beside idle units. For that reason this function throws while a request in queue is waiting for this resource; check first with RequestQ.hasRequestsWaitingFor.
Throws
if a request in queue is waiting for this resource, directly or through a pool it belongs to