Skip to content

Commit

Permalink
fix timeout event duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
cheng-zhongliang committed Oct 5, 2023
1 parent 4a830c2 commit a1c1b8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions event.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ func (bs *EventBase) onTimeout() {
break
}

bs.eventQueueRemove(ev, evListTimeout)

bs.onActive(ev, EvTimeout)
}
}
Expand Down

0 comments on commit a1c1b8e

Please sign in to comment.