idk what am doing

This commit is contained in:
NoLogicAlan committed 2026-05-07 00:55:48 +03:00
1 parent f9d54a61ef
commit d00c9fb8a5
8 files changed
+856 -900

No files matched your search

+9
View File
@@ -220,6 +220,8 @@ export class Remix {
player: this.playerContext,
dashboard: this.dashboard,
locale: this.locale,
spawnPlayer: this._spawnPlayer,
timers: this.T,
});
this.players.observedVoiceUsers = this.observedVoiceUsers;
@@ -613,3 +615,10 @@ const saveAndExit = async () => {
process.once("SIGINT", saveAndExit);
process.once("SIGTERM", saveAndExit);
process.once("SIGUSR2", saveAndExit);
// ── SIGPIPE handler ──────────────────────────────────────────────────────────
// On some systems, writing to a broken pipe (e.g. Redis connection) raises
// SIGPIPE which defaults to terminating the process. Ignoring it lets the
// error surface through the normal exception/rejection handlers above so
// recovery state is saved before exit.
process.on("SIGPIPE", () => {});