Fix cryptget not stopping chainpad-netflux when done

pull/1/head
yflory 5 years ago
parent 792ce4133b
commit ba24cde76d

@ -21,9 +21,9 @@ define([
S.leave(); S.leave();
} catch (e) { console.log(e); } } catch (e) { console.log(e); }
} }
if (S.session && S.session.stop) { if (S.realtime && S.realtime.stop) {
try { try {
S.session.stop(); S.realtime.stop();
} catch (e) { console.error(e); } } catch (e) { console.error(e); }
} }
var abort = Util.find(S, ['session', 'realtime', 'abort']); var abort = Util.find(S, ['session', 'realtime', 'abort']);

Loading…
Cancel
Save