author Marco Bonardo <mbonardo@mozilla.com>
Wed, 12 Apr 2017 17:44:39 +0200
changeset 413775 73edd4e1acef4e708346600b81a337022e450475
parent 410935 97d503af98d9ac9e6fdba3d8c7f2ffc6c74bac27
child 427303 0145883aea3a74740298a2dc3072e4a4e80c8570
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

# See http://pep8.readthedocs.io/en/latest/intro.html#configuration
ignore = E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402
max-line-length = 99