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

Fix test that fails when v8 is built with is_debug and dcheck_always_on #175

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

arghness
Copy link
Contributor

@arghness arghness commented Nov 1, 2021

There were a couple of v8 DCHECK assertions related to the isolate not being set in the test when v8::ScriptOrigin needed it, and the Isolate not being cleaned up before shutting down v8. Tested with v8 9.4.146.22.

v8pp/context.cpp Outdated Show resolved Hide resolved
@pmed
Copy link
Owner

pmed commented Nov 1, 2021

Hi Alex,

Thanks a lot! v8::Isolate in test_context should definitely be disposed manually, since it is not owned by the v8pp::context instance.

@pmed
Copy link
Owner

pmed commented Nov 2, 2021

Hi Alex,

I've fixed macOS build on GitHub Actions (issue #176)
Could you please rebase your branch on the recent master?

@arghness
Copy link
Contributor Author

arghness commented Nov 3, 2021

Rebased and squashed.

@pmed pmed merged commit e131c08 into pmed:master Nov 3, 2021
@pmed
Copy link
Owner

pmed commented Nov 3, 2021

Great, thank you!

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.

2 participants