setConnection in example 5.5 may put UI in an inconsistent state #339
Comments
mfoltzgoogle
added the
P3
label
Sep 16, 2016
anssiko
added the
v1
label
Sep 22, 2016
|
ACTION: @kenchris to review and fix the example in 5.5 |
mfoltzgoogle
referenced
this issue
Nov 16, 2016
Merged
A couple of small fixes to the example code #368
|
Closing with the fixes in the PR. |
mfoltzgoogle
closed this
Nov 16, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mfoltzgoogle commentedSep 16, 2016
setConnection()callsclose()on an existing connection before adding anonconnecthandler to the new connection. If the close event on the old connection fires after the connect event on the new connection,reset()will null out the new connection and disable the stop and disconnect buttons.