You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Call clearLoadedPlugin in ExternalLinter destructor
- Add JsClearLoadedPluginCb type to handle plugin state clearing
- Add clearLoadedPlugin callback parameter to create_external_linter
- Implement Drop trait for ExternalLinter to call clearLoadedPlugin
- Update lint and lint_impl to accept and pass clearLoadedPlugin callback
- Update cli.ts to pass clearLoadedPluginWrapper callback
- Export ExternalLinterClearLoadedPluginCb from oxc_linter
The clearLoadedPlugin function is now automatically called when the ExternalLinter is destroyed, ensuring plugin state is properly cleaned up after linting completes.
Co-authored-by: Sysix <[email protected]>
0 commit comments