mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Fix infinite loop in KobaltServer.
This commit is contained in:
parent
de4f84c66b
commit
05debcff07
1 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,9 @@ public class KobaltServer @Inject constructor(val args: Args) : Runnable, IComma
|
||||||
line = ins.readLine()
|
line = ins.readLine()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (line == null) {
|
||||||
|
quit = true
|
||||||
|
}
|
||||||
} catch(ex: SocketException) {
|
} catch(ex: SocketException) {
|
||||||
log(1, "Client disconnected, resetting")
|
log(1, "Client disconnected, resetting")
|
||||||
clientSocket = serverSocket.accept()
|
clientSocket = serverSocket.accept()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue