Restart captcha handler on online status blip
This commit is contained in:
parent
1efc9274ab
commit
11ed15f729
1 changed files with 4 additions and 0 deletions
|
@ -1655,6 +1655,10 @@ export async function startApp(): Promise<void> {
|
||||||
log.warn('Already online. Had a blip in online/offline status.');
|
log.warn('Already online. Had a blip in online/offline status.');
|
||||||
Timers.clearTimeout(disconnectTimer);
|
Timers.clearTimeout(disconnectTimer);
|
||||||
disconnectTimer = undefined;
|
disconnectTimer = undefined;
|
||||||
|
|
||||||
|
if (challengeHandler) {
|
||||||
|
drop(challengeHandler.onOnline());
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (disconnectTimer) {
|
if (disconnectTimer) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue