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

TryCatch: It is more thread safe to use isolate passed explicitly rather than relying on it retrieved via a static call in constructor. #308

Merged
merged 1 commit into from
Jul 21, 2017

Conversation

matiwinnetou
Copy link
Contributor

@matiwinnetou matiwinnetou commented Jul 18, 2017

Fixes #307. Perhaps there is more elegant fix but this already helps us in production on multi concurrent access and our rendering pool from V8s to serve pages.

…er than relying on it retrieved via a static call in constructor.
@matiwinnetou
Copy link
Contributor Author

We were running stress tests over the whole night in production and it seems the issue disappears with this FIX.

@matiwinnetou matiwinnetou changed the title It is more secure (thread safe) to use isolate passed explicitly rather than relying on it retrieved via a static call in constructor. TryCatch: It is more secure (thread safe) to use isolate passed explicitly rather than relying on it retrieved via a static call in constructor. Jul 19, 2017
@matiwinnetou matiwinnetou changed the title TryCatch: It is more secure (thread safe) to use isolate passed explicitly rather than relying on it retrieved via a static call in constructor. TryCatch: It is more thread safe to use isolate passed explicitly rather than relying on it retrieved via a static call in constructor. Jul 19, 2017
Copy link
Member

@irbull irbull left a comment

Choose a reason for hiding this comment

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

+1

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.

Threading issue -> crash TryCatch and isolate
2 participants