We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
destroyWorkspace
1 parent 8da26c3 commit 255d7fcCopy full SHA for 255d7fc
1 file changed
apps/oxlint/src/js_plugins/external_linter.rs
@@ -328,6 +328,6 @@ fn wrap_create_workspace(cb: JsCreateWorkspaceCb) -> ExternalLinterCreateWorkspa
328
/// Wrap `destroyWorkspace` JS callback as a normal Rust function.
329
fn wrap_destroy_workspace(cb: JsDestroyWorkspaceCb) -> ExternalLinterDestroyWorkspaceCb {
330
Arc::new(Box::new(move |workspace_uri| {
331
- let _ = cb.call(workspace_uri, ThreadsafeFunctionCallMode::Blocking);
+ let _ = cb.call(workspace_uri, ThreadsafeFunctionCallMode::NonBlocking);
332
}))
333
}
0 commit comments