pouchdb/pouchdb — pull request #2648 by calvinmetcalf (2014-08-19 11:37:34+00:00)
Title: (#2639) - make sure we do no more writes after replication is over

covers the edge case where we close the database between the get and the put for the check point