pouchdb/pouchdb — pull request #1994 by calvinmetcalf (2014-04-20 12:45:34+00:00)
Title: resolve promise when changes are canceled

fixes #1986