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 9a05812 commit ce77d4f
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 ce77d4f

Please sign in to comment.