Skip to content

Commit

Permalink
logoff X tabbed players
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyrs committed Jul 30, 2024
1 parent c81f0b5 commit 112ba15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,9 @@ export abstract class Client extends GameShell {
} catch (e) {
/* empty */
}
if (this.peer && Client.getParameter('world') === '998') {
this.peer.dc?.send(JSON.stringify({type: 'close', id: (this.stream as ClientWorkerStream).uniqueId}));
}
this.stream = null;
stopMidi(false);
// this.midiThreadActive = false;
Expand Down

0 comments on commit 112ba15

Please sign in to comment.