Skip to content

Reset os_ipc_channels correctly on error#258

Open
mitsuhiko wants to merge 1 commit into
servo:mainfrom
mitsuhiko:bugfix/reset-serialize
Open

Reset os_ipc_channels correctly on error#258
mitsuhiko wants to merge 1 commit into
servo:mainfrom
mitsuhiko:bugfix/reset-serialize

Conversation

@mitsuhiko

Copy link
Copy Markdown

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

@jdm

jdm commented Feb 12, 2020

Copy link
Copy Markdown
Member

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

@mitsuhiko

Copy link
Copy Markdown
Author

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

@nox

nox commented Mar 10, 2020

Copy link
Copy Markdown
Contributor

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.

3 participants