Update dependencies

This commit is contained in:
世界
2023-07-03 21:54:16 +08:00
parent 7736e1e644
commit e7b2c111a6
2 changed files with 6 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ class BoxService(
private fun startCommandServer() {
val commandServer =
CommandServer(Application.application.filesDir.absolutePath, this)
CommandServer(Application.application.filesDir.absolutePath, this, 300)
commandServer.start()
this.commandServer = commandServer
}
@@ -160,10 +160,6 @@ class BoxService(
}
}
override fun serviceStop() {
}
private fun stopService() {
if (status.value != Status.Started) return
status.value = Status.Stopping