author Marco Bonardo <>
Wed, 12 Apr 2017 17:44:39 +0200
changeset 365080 73edd4e1acef4e708346600b81a337022e450475
parent 269663 b39a7e4289d8de57151b826dec3902130f9d0634
child 386850 fff0a54320b0cd3924790f744f93533bfd386b1e
permissions -rw-r--r--
Bug 1355561 - Add a new API to spinningly close the database when strictly needed, and ensure Close() does what it's named after. r=asuth Introduce a new SpinningSynchronousClose API that allows to synchronously close a connection that executed asynchronous statements, by spinning the events loop. This is expected to be used rarely in particular cases like database corruption. It is currently [noscript] since the only consumer is cpp, in the future we can evaluate removing that, if we find more uses for it. MozReview-Commit-ID: 7SPqutoF9jJ