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

Method stop

ZezeJava/ZezeJava/src/main/java/Zeze/Hot/HotModule.java:119–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117
118 // stop 不能清除本地进程状态,后面需要用来升级。
119 public void stop() throws Exception {
120 // app Unregister
121 var iModule = (IModule)service;
122 iModule.UnRegister();
123 // app stop
124 service.stop();
125 if (jar != null) {
126 jar.close();
127 jar = null;
128 }
129 }
130
131 public void stopBefore() throws Exception {
132 service.stopBefore();

Callers

nothing calls this directly

Calls 3

UnRegisterMethod · 0.65
stopMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected