Reduce process premature death warnings

This commit is contained in:
Mygod
2021-04-16 15:36:49 -04:00
parent 7cdae63085
commit 78398a9eef
2 changed files with 3 additions and 2 deletions

View File

@@ -303,7 +303,8 @@ class RootServer {
output.close()
process.outputStream.close()
} catch (e: IOException) {
Logger.me.i("send Shutdown failed", e)
// Stream closed caused in NullOutputStream
if (e.message != "Stream closed") Logger.me.w("send Shutdown failed", e)
}
Logger.me.d("Client closed")
}