You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could happen most easily happen if gs.AM.seek is null but gs.AM.tableSettings is true, which might possibly occur after some particular sequence of asynchronous callbacks between Goko, the AM server, and the client. This causes trouble because I've written code that assumes that tableSettings is always null when the client isn't seeking an automatch.
The user can verify this diagnosis by providing the values of the global variables GokoSalvager.AM.tableSettings and GokoSalvager.AM.state.seek when the error occurs.
This race condition seems to be rare and finding it is likely to be difficult -- it may not even be possible in my test environment, which doesn't adequately reproduce the range of network conditions other user experience. Stopping the undesired behavior, however, is easy. We need to explicitly clear the gs.AM.tableSettings variable in Automatch.cancelSeek() and explicitly check both it and gs.AM.tableSettings in Automatch.showSeekPopup(), which is defined in automatchSeekPop.js
The text was updated successfully, but these errors were encountered:
Some race condition or other semi-random event is resulting in the illegal state florrat describes here:
http://forum.dominionstrategy.com/index.php?topic=8163.msg286439#msg286439
This could happen most easily happen if gs.AM.seek is null but gs.AM.tableSettings is true, which might possibly occur after some particular sequence of asynchronous callbacks between Goko, the AM server, and the client. This causes trouble because I've written code that assumes that tableSettings is always null when the client isn't seeking an automatch.
The user can verify this diagnosis by providing the values of the global variables
GokoSalvager.AM.tableSettings
andGokoSalvager.AM.state.seek
when the error occurs.This race condition seems to be rare and finding it is likely to be difficult -- it may not even be possible in my test environment, which doesn't adequately reproduce the range of network conditions other user experience. Stopping the undesired behavior, however, is easy. We need to explicitly clear the gs.AM.tableSettings variable in Automatch.cancelSeek() and explicitly check both it and gs.AM.tableSettings in Automatch.showSeekPopup(), which is defined in automatchSeekPop.js
The text was updated successfully, but these errors were encountered: