Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.1
-
None
-
None
-
Doesn't matter
-
New Contributors Level (Easy)
Description
Suppose you're listening for the db changes:
var promise = app.db.changes(0);
And want to stop listening:
promise.stop();
But it will only prevent reconnecting and event triggering, while XMLHTTPRequest will be still active (just until server responds).
My patch is fixing this.