Fix roster.stop fix

pull/1/head
yflory 5 years ago
parent 5b006a8819
commit 3cc8b5eb83

@ -407,7 +407,7 @@ var factory = function (Util, Hash, CPNetflux, Sortify, nThen, Crypto) {
var webChannel;
roster.stop = function () {
if (ref.internal.cpNetflux && typeof(ref.internal.cpNetflux) === "function") {
if (ref.internal.cpNetflux && typeof(ref.internal.cpNetflux.stop) === "function") {
ref.internal.cpNetflux.stop();
clearPendingCheckpoints();
} else {

Loading…
Cancel
Save