close the thing on the dead

This commit is contained in:
Kade M
2021-04-02 14:35:14 -07:00
committed by GitHub
parent b686bc73e1
commit 76ebfef571
+4
View File
@@ -96,6 +96,10 @@ class TitleState extends MusicBeatState
#if desktop
DiscordClient.initialize();
Application.current.onExit.add (function (exitCode) {
DiscordClient.shutdown();
});
#end
}