daleharvey/pouchdb — pull request #1113 by jamesjwood (2013-12-07 15:27:15+00:00)
Title: (#1112) - Closing db causes a crash in leveldb even if changes have been...

Was getting a crash in the levedb adaptor when opening and closing a db even if changes had been cancelled. The cancel can happen before any data is read from leveldb so it needs to check when data is returned whether it has already been cancelled.