Fix cryptget not stopping chainpad-netflux when done
This commit is contained in:
1 parent
792ce4133b
commit
ba24cde76d
1 file changed
+2
-2
@@ -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']);
|
||||
|
||||
Reference in new issue
Block a user