opencog / atomspace

The OpenCog (hyper-)graph database and graph rewriting system
https://wiki.opencog.org/w/AtomSpace
Other
795 stars 225 forks source link

Make sure that an earlier StorageNode instance is deleted. #3035

Closed linas closed 1 year ago

linas commented 1 year ago

Failure to drive the use-count of a deleted StorageNode to zero results in the dtor not running, when the user makes the error of failing to close the currently-open StorageNode (and then trying to re-open it again.) This fixes issue https://github.com/opencog/atomspace-rocks/issues/19