MCPcopy Create free account
hub / github.com/e2wugui/zeze / stopModules

Method stopModules

ZezeJava/ZezexJava/server/src/Game/App.java:301–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299 }
300
301 public void stopModules() throws Exception {
302 lock();
303 try {
304 if (Game_Rank != null)
305 Game_Rank.Stop(this);
306 if (Game_Map != null)
307 Game_Map.Stop(this);
308 if (null != Zeze.getHotManager()) {
309 var definedOrder = new java.util.HashSet<String>();
310 Zeze.getHotManager().stopModulesExcept(definedOrder);
311 }
312 } finally {
313 unlock();
314 }
315 }
316
317 public void stopBeforeModules() throws Exception {
318 lock();

Callers 1

StopMethod · 0.95

Calls 5

stopModulesExceptMethod · 0.80
lockMethod · 0.65
unlockMethod · 0.65
StopMethod · 0.45
getHotManagerMethod · 0.45

Tested by

no test coverage detected