mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix cryptget not stopping chainpad-netflux when done
This commit is contained in:
parent
792ce4133b
commit
ba24cde76d
@ -21,9 +21,9 @@ define([
|
||||
S.leave();
|
||||
} catch (e) { console.log(e); }
|
||||
}
|
||||
if (S.session && S.session.stop) {
|
||||
if (S.realtime && S.realtime.stop) {
|
||||
try {
|
||||
S.session.stop();
|
||||
S.realtime.stop();
|
||||
} catch (e) { console.error(e); }
|
||||
}
|
||||
var abort = Util.find(S, ['session', 'realtime', 'abort']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user