mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2024-11-27 06:10:08 +08:00
fix: nanohttpd isn't started as daemon thread
This commit is contained in:
parent
c6b76f5200
commit
b1031be748
@ -98,7 +98,7 @@ public final class MicrosoftAuthenticationServer extends NanoHTTPD implements Mi
|
||||
for (int port : new int[]{29111, 29112, 29113, 29114, 29115}) {
|
||||
try {
|
||||
MicrosoftAuthenticationServer server = new MicrosoftAuthenticationServer(port);
|
||||
server.start(NanoHTTPD.SOCKET_READ_TIMEOUT, false);
|
||||
server.start(NanoHTTPD.SOCKET_READ_TIMEOUT, true);
|
||||
return server;
|
||||
} catch (IOException e) {
|
||||
exception = e;
|
||||
|
Loading…
Reference in New Issue
Block a user