Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix database dtor crash #82

Merged
merged 3 commits into from Oct 4, 2016
Merged

Conversation

hsitter
Copy link
Contributor

@hsitter hsitter commented Oct 4, 2016

without this an unopened database goes boom because the pointer points to garbage

@aleixpol
Copy link
Collaborator

aleixpol commented Oct 4, 2016

+1 as soon as the tests pass. @ximion any idea what happened there?

in particular this allows catching nullptr access on the ptr member
- only open once
- roll back on pool loading errors by unrefing the pool instance again
@hsitter
Copy link
Contributor Author

hsitter commented Oct 4, 2016

thar she blows. build fixed. all lovely again. I am calling it a day :P

@aleixpol aleixpol merged commit 1f7dd94 into ximion:master Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants