MCPcopy Create free account
hub / github.com/TheCyaniteProject/exit_code_java / preLogoutkill

Method preLogoutkill

src/main/java/exitcode/Apps.java:183–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 }
182
183 public static void preLogoutkill() {
184 //Pid stuff
185 Iterator<Integer> iterate = Apps.apps.keySet().iterator();
186 while (iterate.hasNext()) {
187 Integer pid = iterate.next();
188 Apps.open_windows.remove(Apps.apps.get(pid).get(0));
189 Desktop.main_root.getChildren().remove(Apps.apps.get(pid).get(0));
190 //Pid stuff
191 Logger.messageCustom("APP", String.format("Killed %s, PID: %s", Apps.apps.get(pid).get(1) , pid));
192 iterate.remove();
193 }
194 }
195
196 /*/
197 PATREON | Immortal In Code

Callers 2

shutdownMethod · 0.95
logoutMethod · 0.95

Calls 2

messageCustomMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected