Remove Executor#unregisterWorkQueue
We use ScheduledThreadPoolExecutor#terminated to manage cleanup of WorkQueue. Callers of unregisterWorkQueue should just delete the call. Change-Id: I0208c8643bd71eb287ff553f80e7ffe547f3ffbe
This commit is contained in:
@@ -204,7 +204,9 @@ public class WorkQueue {
|
||||
queueName = prefix;
|
||||
}
|
||||
|
||||
public void unregisterWorkQueue() {
|
||||
@Override
|
||||
protected void terminated() {
|
||||
super.terminated();
|
||||
queues.remove(this);
|
||||
}
|
||||
|
||||
|
||||
Submodule plugins/hooks updated: 60adf5742f...0e25154b61
Submodule plugins/replication updated: db4aecb2b8...98b7156cee
Reference in New Issue
Block a user