MCPcopy Create free account
hub / github.com/demoth/jake2 / Quit

Method Quit

client/src/main/java/jake2/client/CL.java:77–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76
77 private static void Quit()
78 {
79 Cmd.ExecuteFunction("sv_shutdown", "Server quit ", "false");
80 Cmd.ExecuteFunction("cl_shutdown");
81
82 if (Globals.logfile != null)
83 {
84 try
85 {
86 Globals.logfile.close();
87 }
88 catch (IOException e)
89 {
90 }
91 Globals.logfile= null;
92 }
93
94 System.exit(0);
95 }
96
97 static void SendKeyEvents() {
98 ClientGlobals.re.getKeyboardHandler().Update();

Callers 1

CLClass · 0.95

Calls 1

ExecuteFunctionMethod · 0.95

Tested by

no test coverage detected