Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DomiiBunn committed Sep 24, 2024
1 parent 109222f commit 15b3073
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/agent-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export class AgentManager {
if (bean) {
await R.trash(bean);
let endpoint = bean.endpoint;
this.disconnect(endpoint);
this.sendAgentList();
delete this.agentSocketList[endpoint];
} else {
throw new Error("Agent not found");
Expand Down

0 comments on commit 15b3073

Please sign in to comment.