close the thing on the dead
This commit is contained in:
parent
2c03f4f507
commit
b30c5f365f
|
@ -96,6 +96,10 @@ class TitleState extends MusicBeatState
|
|||
|
||||
#if desktop
|
||||
DiscordClient.initialize();
|
||||
|
||||
Application.current.onExit.add (function (exitCode) {
|
||||
DiscordClient.shutdown();
|
||||
});
|
||||
#end
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue