forked from Silverfish/proton-bridge
fix(GODT-2442): Handle event poll not starting after resync
It is possible, on slower machines, that the new event poll task is not yet registered and attempts to cancel have nothing to cancel. In this case, we need the refresh event to cancel the task, at that point it is guaranteed that the task exists.
This commit is contained in:
@ -148,7 +148,8 @@ func (event UserChanged) String() string {
|
||||
type UserRefreshed struct {
|
||||
eventBase
|
||||
|
||||
UserID string
|
||||
UserID string
|
||||
CancelEventPool bool
|
||||
}
|
||||
|
||||
func (event UserRefreshed) String() string {
|
||||
|
||||
Reference in New Issue
Block a user