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

Code reloading / Module versions #18

Open
archseer opened this issue Jan 25, 2019 · 0 comments
Open

Code reloading / Module versions #18

archseer opened this issue Jan 25, 2019 · 0 comments
Labels
K-enhancement Kind: New feature or request L-medium Level: medium

Comments

@archseer
Copy link
Owner

Update the module registry to store RcModule (Arc) instead of Box, and update all *const Module to be RcModule. Loading the same module into the VM should swap it in the registry, meaning all new module registry lookups will return the new module. Meanwhile, references to the old Module will still work until they all die, at which point the module will be dropped.

@archseer archseer added K-enhancement Kind: New feature or request L-medium Level: medium labels Jan 25, 2019
@archseer archseer changed the title Code (re)loading / Module versions Code reloading / Module versions Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
K-enhancement Kind: New feature or request L-medium Level: medium
Projects
None yet
Development

No branches or pull requests

1 participant