HomePhabricator

Changed LevelDB cursors to use scoped pointers to ensure destruction when going…
5cbda4f10f16Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Changed LevelDB cursors to use scoped pointers to ensure destruction when going out of scope.

This corrects a bug where an exception thrown reading from the database causes the cursor to
be left open, which causes an assertion error to occur when the database is deleted (around
line 938 of init.cpp).

Details

Provenance
Ross Nicoll <jrn@jrn.me.uk>Authored on Aug 7 2014, 21:58
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING003bbd5f7672: Merge pull request #4645
Branches
Unknown
Tags
Unknown