From 271f5672f4f71c89c917c97c4b1815f1a7f8bc94 Mon Sep 17 00:00:00 2001 From: MaxRobinsonTheGreat Date: Mon, 5 Feb 2024 13:48:02 -0600 Subject: [PATCH] cancelresume on death --- src/agent/agent.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/agent/agent.js b/src/agent/agent.js index 890b5ef..dfaf425 100644 --- a/src/agent/agent.js +++ b/src/agent/agent.js @@ -158,6 +158,7 @@ export class Agent { process.exit(1); }); this.bot.on('death', () => { + this.coder.cancelResume(); this.coder.stop(); }); this.bot.on('kicked', (reason) => {