Skip to content

Commit 72abe52

Browse files
committed
remove tag from pending if already removed
1 parent a80c7f2 commit 72abe52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adapter/groups/manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ func (rq *removalQueue) checkPending() {
321321
// double check if outbound/endpoint still exists
322322
if _, exists = rq.outMgr.Outbound(tag); !exists {
323323
rq.logger.Trace("outbound already removed", "tag", tag)
324+
delete(rq.pending, tag)
324325
continue
325326
}
326327
rq.logger.Debug("removing outbound", "tag", tag)

0 commit comments

Comments
 (0)