This commit is contained in:
nkorange 2019-10-15 20:02:08 +08:00
parent 21e7bcdde0
commit f2021a5eda

View File

@ -136,11 +136,4 @@ public class EventDispatcher {
}
}
}
public void setExecutor(ExecutorService executor) {
ExecutorService oldExecutor = this.executor;
this.executor = executor;
oldExecutor.shutdown();
}
}