1
0
Fork 1
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:
carbotaniuman 2021-02-21 11:59:11 -06:00
parent 0a05cf05c1
commit cb259a2c72

View file

@ -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