SFX JS 1.7.6 exception
Posted: 27 Oct 2017, 03:34
Hi:
I got an exception with Sfx 1.7.6.
Stack:
JS Exception: scope._sfs is null, file: assets/src/assets/plugins/sfs2x-api-1.7.6.js, lineno: 18
Stack: _threadRunner@assets/src/assets/plugins/sfs2x-api-1.7.6.js:18:16919
Reproduction steps:
1. Login game with Sfx
2. Set enableLagMonitor(true) open pingpong package
3. Try make connect lost(turn off wifi or switch it)
4. Recv onConnectionLost, remove eventListener, set enableLagMonitor(false), set sfx instance with null
5. Reconnect game
after steps, then ever pingpong package recv, this exception will happen.
so, is my fault or Sfx ?
I got an exception with Sfx 1.7.6.
Stack:
JS Exception: scope._sfs is null, file: assets/src/assets/plugins/sfs2x-api-1.7.6.js, lineno: 18
Stack: _threadRunner@assets/src/assets/plugins/sfs2x-api-1.7.6.js:18:16919
Reproduction steps:
1. Login game with Sfx
2. Set enableLagMonitor(true) open pingpong package
3. Try make connect lost(turn off wifi or switch it)
4. Recv onConnectionLost, remove eventListener, set enableLagMonitor(false), set sfx instance with null
5. Reconnect game
after steps, then ever pingpong package recv, this exception will happen.
so, is my fault or Sfx ?