Fix roster.stop fix
This commit is contained in:
parent
5b006a8819
commit
3cc8b5eb83
@ -407,7 +407,7 @@ var factory = function (Util, Hash, CPNetflux, Sortify, nThen, Crypto) {
|
|||||||
|
|
||||||
var webChannel;
|
var webChannel;
|
||||||
roster.stop = function () {
|
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();
|
ref.internal.cpNetflux.stop();
|
||||||
clearPendingCheckpoints();
|
clearPendingCheckpoints();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user