25147a4
Branches > main > 25147a4 > files / .tickets / replace-aleph.md
Actually use promise lol
Commit: 25147a413e90617582eb349a4cd58685c522e796
Parent: 37a6549
1 changed file:
src/net/bowmap/minecraft_server.clj view file
@@ -76,7 +76,7 @@ "Starts the Minecraft server at the specified port. Returns a promise that will deliver when the server closes." [{:keys! [port]}] (let [clients (server/start-tcp-server! {:port port})- shutdown (promise)]+ shutdown (closable-promise clients)] ; Loop over the instance? (io-thread (loop []