-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax an assertion in start_selection()
It asserted that the previous count was always nonnegative, but DISCONNECTED is a valid value for it to see. In order to continue to remember to store DISCONNECTED after DISCONNECTED was seen, I also added a helper method. Closes #12226
- Loading branch information
1 parent
58eeb07
commit ad69b1f
Showing
3 changed files
with
122 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ad69b1f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from kballard
at alexcrichton@ad69b1f
ad69b1f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/chan-select-bug = ad69b1f into auto
ad69b1f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/chan-select-bug = ad69b1f merged ok, testing candidate = 881741e8
ad69b1f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1162
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/4208
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/2050
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/2052
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4207
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3307
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3313
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4222
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3310
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3316
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4224
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3310
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3315
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/3384
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4215
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/3316
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3322
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/3984