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: plugin context gc #1769

Merged
merged 1 commit into from
Feb 14, 2025
Merged

fix: plugin context gc #1769

merged 1 commit into from
Feb 14, 2025

Conversation

xusd320
Copy link
Contributor

@xusd320 xusd320 commented Feb 14, 2025

The js land should not hold a strong reference of PluginContext, or else, it will prevent Drop::drop of PluginHook, and the main thread will hang forever.

Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.99%. Comparing base (89ca741) to head (8bf0322).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1769   +/-   ##
=======================================
  Coverage   54.99%   54.99%           
=======================================
  Files         180      180           
  Lines       18169    18169           
=======================================
  Hits         9992     9992           
  Misses       8177     8177           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xusd320 xusd320 merged commit b754992 into master Feb 14, 2025
23 checks passed
@xusd320 xusd320 deleted the fix-plugin-context-gc branch February 14, 2025 09:44
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