Web compilation fix, new logging, cleanup

This commit is contained in:
Anuken
2018-01-24 18:48:59 -05:00
parent 3900258b6c
commit 8b2f63ecb6
15 changed files with 43 additions and 35 deletions

View File

@@ -156,6 +156,7 @@ public class KryoServer implements ServerProvider {
Thread thread = new Thread(() ->{
try {
server.close();
UCore.log("Killing web server...");
try {
if (webServer != null) webServer.stop(1); //please die, right now
}catch(Exception e){
@@ -167,6 +168,7 @@ public class KryoServer implements ServerProvider {
worker.interrupt();
}
}
UCore.log("Killed web server.");
}catch (Exception e){
Gdx.app.postRunnable(() -> {throw new RuntimeException(e);});
}

View File

@@ -1,11 +0,0 @@
package io.anuke.kryonet;
import org.java_websocket.WebSocketServerFactory;
public class SSLGen {
public static WebSocketServerFactory getFactory(){
//TODO implement
return null;
}
}