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

Close wallet when WalletService is stopped. #595

Merged
merged 1 commit into from
Jun 11, 2020
Merged

Conversation

AdamISZ
Copy link
Member

@AdamISZ AdamISZ commented Jun 10, 2020

Fixes #594.

For a little background/context, note: previous to this, the wallet file lock was removed in a call to .close() method of Storage in an override of Storage.__del__ in storage.py (wallet is saved, then closed, then lock is removed).

The use case in #594 does not involve deleting the wallet object, so lock was not removed.
But here #359 architecture change shows its value again; we just include wallet close as part of stopping the WalletService.

Copy link
Member

@kristapsk kristapsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 0c73074

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.

JoinMarketQt doesn't properly close previous wallet when new one is loaded
2 participants