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: hotreload crash. #507

Merged
merged 1 commit into from Jul 16, 2021
Merged

fix: hotreload crash. #507

merged 1 commit into from Jul 16, 2021

Conversation

answershuto
Copy link
Member

由于全局热更新调用了 krakenModuleListener,如果上一个 krakenModuleListener 是 reload ,则会调用 JSContext 的析构函数销毁上下文,下一个方法访问时则会 crash。

@wssgcg1213 wssgcg1213 requested a review from andycall July 16, 2021 06:48
@yuanyan yuanyan merged commit e40e5fe into main Jul 16, 2021
@yuanyan yuanyan deleted the fix/hot_reload branch July 16, 2021 11:40
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.

None yet

3 participants