(App app)
| 93 | } |
| 94 | |
| 95 | public void Stop(App app) { |
| 96 | App.Zeze.getHotManager().throwIfMatch("stop"); |
| 97 | |
| 98 | logger.info("Stop " + this.getFullName()); |
| 99 | App.Zeze.newProcedure(() -> { |
| 100 | var timer = App.Zeze.getTimer(); |
| 101 | if (!isHotUpgrade()) { |
| 102 | timer.cancel(timerNamed); |
| 103 | timer.cancel(timerHot); |
| 104 | } |
| 105 | timer.getRoleTimer().cancel(timerOnline, roleId); |
| 106 | return 0; |
| 107 | }, "cancel timers").call(); |
| 108 | } |
| 109 | |
| 110 | @Override |
| 111 | public String getTimerHot() { |
no test coverage detected