Home GnuPG
Diffusion GPGME ed1dffb4748e

js: improve connection check

Description

js: improve connection check

  • Connection.js: In some cases, the browser disconnect does not happen inmediately (e.g. wrong extension for the app). I added a delay of 25 ms to see if the connection was closed by the browser. Also, I tried to make the checkConnection more readable.

Details

Provenance
mkrambachAuthored on Jul 3 2019, 4:19 PM
Parents
rMf5e27a12d3fd: js: Error handling for browser errors
Branches
Unknown
Tags
Unknown