mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
Hopefully fix shutdown
This commit is contained in:
parent
0a05cf05c1
commit
cb259a2c72
|
@ -215,8 +215,8 @@ class Netty(
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun stop() = apply {
|
override fun stop() = apply {
|
||||||
|
channel.close().sync()
|
||||||
transport.shutdownGracefully()
|
transport.shutdownGracefully()
|
||||||
channel.closeFuture().sync()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun port(): Int = serverSettings.port
|
override fun port(): Int = serverSettings.port
|
||||||
|
|
Loading…
Reference in a new issue