Resolve FAQ:
Don't report a JavaScript warning ("Disconnected") until the OperationCallback has been executed 10 times with the user offline. This gives the executing script ample time to recognize the disconnected state and exit gracefully. Script that do not check/notice that the user has disconnected will still be auto-terminated (by default) and this warning will still be logged in those cases. The value 10 was picked at random and appears to work fine.
Please register or sign in to comment