forked from syntaxbullet/AuroraBot-discord
fix: address security review findings, implement real cache clearing, and fix lifecycle promises
This commit is contained in:
@@ -196,5 +196,10 @@ export const tradeService = {
|
||||
});
|
||||
|
||||
tradeService.endSession(threadId);
|
||||
},
|
||||
|
||||
clearSessions: () => {
|
||||
sessions.clear();
|
||||
console.log("[TradeService] All active trade sessions cleared.");
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user