Skip to content
  • rswindell's avatar
    Resolve FAQ: · 7a96e2b3
    rswindell authored
    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.
    7a96e2b3