mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-16 06:12:52 -04:00
The FactionService Executor is now shut down in terminate()
This commit is contained in:
@@ -71,11 +71,11 @@ public final class FactionService extends Service {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean stop() {
|
||||
public boolean terminate() {
|
||||
// If some were in the middle of switching, finish the switches immediately
|
||||
executor.shutdownNow().forEach(runnable -> runnable.run());
|
||||
|
||||
return super.stop();
|
||||
return super.terminate();
|
||||
}
|
||||
|
||||
private void handleFactionIntent(FactionIntent i) {
|
||||
|
||||
Reference in New Issue
Block a user