Skip to content

Commit

Permalink
Merge pull request #51816 from sharwell/cancel-work
Browse files Browse the repository at this point in the history
Cancel outstanding work on tagger disconnect
  • Loading branch information
sharwell authored Mar 12, 2021
2 parents 062355a + 625a02c commit edccfb4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public void Disconnect()
{
_underlyingSource.Changed -= OnEventSourceChanged;
_underlyingSource.Disconnect();
_workQueue.CancelCurrentWork();
}

public event EventHandler UIUpdatesPaused
Expand Down

0 comments on commit edccfb4

Please sign in to comment.