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

Reset os_ipc_channels correctly on error #258

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mitsuhiko
Copy link

I believe this is necessary to recover correctly from serialization errors (Refs #257)

@jdm
Copy link
Member

jdm commented Feb 12, 2020

This looks sensible. Could you add a unit test to src/tests.rs that exercises this?

@mitsuhiko
Copy link
Author

@jdm I'm honestly not really sure how to best test this. What it modifies is not exposed.

@nox
Copy link
Contributor

nox commented Mar 10, 2020

Bad things can still happen if T::serialize panics.

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

3 participants