Fix #1906
This commit is contained in:
parent
21e7bcdde0
commit
f2021a5eda
@ -136,11 +136,4 @@ public class EventDispatcher {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void setExecutor(ExecutorService executor) {
|
||||
ExecutorService oldExecutor = this.executor;
|
||||
this.executor = executor;
|
||||
|
||||
oldExecutor.shutdown();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user