Skip to content

Conversation

nathanwhit
Copy link
Member

No description provided.

pub struct TestObjectWrap {}

impl GarbageCollected for TestObjectWrap {
unsafe impl GarbageCollected for TestObjectWrap {
Copy link
Member

Choose a reason for hiding this comment

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

I don't like that we'll have to do this everywhere in Deno 😓

Copy link
Member Author

Choose a reason for hiding this comment

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

yup, and now GarbageCollected requires Send + Sync. So everything using a refcell for interior mutability won't work anymore...

It's very messy in the CLI

Copy link
Member

Choose a reason for hiding this comment

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

oh that will break a lot of stuff. i think we might have to revert this change.

Copy link
Member

Choose a reason for hiding this comment

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

I'm in favor of reverting this change

Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM

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