Fix cryptget memory issues

pull/1/head
yflory 5 years ago
parent 9c26df4213
commit a327f4a0bf

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

Loading…
Cancel
Save