From 080677b45ca1fa7d5bbe3a18f9e52f10fe037177 Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 16 May 2021 20:12:47 +0100 Subject: [PATCH] Name the shutdown hook thread Signed-off-by: Graham --- game/src/main/kotlin/org/openrs2/game/GameServer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/src/main/kotlin/org/openrs2/game/GameServer.kt b/game/src/main/kotlin/org/openrs2/game/GameServer.kt index 6e481d5416..37468d93f7 100644 --- a/game/src/main/kotlin/org/openrs2/game/GameServer.kt +++ b/game/src/main/kotlin/org/openrs2/game/GameServer.kt @@ -13,7 +13,7 @@ public class GameServer @Inject constructor( private val serviceManager = ServiceManager(services) public fun run(start: Long) { - val shutdownHook = Thread(::stop) + val shutdownHook = Thread(::stop, "ShutdownHook") serviceManager.startAsync() runtime.addShutdownHook(shutdownHook)