Skip to content

Use the db_transaction decorator on all _add() methods.

So they gracefully release the connection on error instead of relying on reference-counting to call the Db's __del__ (which does not happen in Hypothesis tests) because a ref to it is kept via the traceback object.

Depends on !182 (closed).


Migrated from D1381 (view on Phabricator)

Merge request reports

Loading