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

[win32] Explicitly close rx pipe when closing wallet #1679

Merged
merged 4 commits into from
Oct 9, 2018

Conversation

matheusd
Copy link
Member

@matheusd matheusd commented Oct 1, 2018

Close #1675
Close #1653
Fix #1645

@@ -48,5 +48,18 @@ result<pipe> create_pipe(pipe_direction direction) {
err:
return result<pipe>::error(err_msg);
}


result<int> close_pipe_end(uintptr_t read_end_handle, uintptr_t write_end_handle) {
Copy link
Member

Choose a reason for hiding this comment

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

this return value doesn't agree with the header declaration

@matheusd
Copy link
Member Author

matheusd commented Oct 1, 2018

@jrick Updated the module so that ClosePipe works with the same pipe object produced by CreatePipe as you suggested.

See if you prefer this version.

Copy link
Member

@alexlyp alexlyp left a comment

Choose a reason for hiding this comment

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

tACK on Win10 and code looks great. Awesome job!

@alexlyp alexlyp merged commit a21e02b into decred:master Oct 9, 2018
@matheusd matheusd deleted the win-close-pipe branch February 25, 2020 18:16
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.

3 participants