fix: nanohttpd isn't started as daemon thread
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user