DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/WindServiceHandlers/ExtensionHost/
DebugServiceClose.rs1use serde_json::{Value, json};
5use tauri::{AppHandle, Emitter};
6
7pub async fn Fn(ApplicationHandle:AppHandle) -> Result<Value, String> {
8 crate::dev_log!("exthost", "extensionhostdebugservice:close");
9
10 if let Err(Error) = ApplicationHandle.emit("sky://exthost/debug-close", json!({})) {
11 crate::dev_log!("exthost", "warn: extensionhostdebugservice:close emit failed: {}", Error);
12 }
13
14 Ok(Value::Null)
15}