Mountain/IPC/WindServiceHandlers/ExtensionHost/
DebugServiceClose.rs1#![allow(unused_variables, dead_code, unused_imports)]
2
3use serde_json::{Value, json};
7use tauri::{AppHandle, Emitter};
8
9pub async fn Fn(ApplicationHandle:AppHandle) -> Result<Value, String> {
10 crate::dev_log!("exthost", "extensionhostdebugservice:close");
11
12 if let Err(Error) = ApplicationHandle.emit("sky://exthost/debug-close", json!({})) {
13 crate::dev_log!("exthost", "warn: extensionhostdebugservice:close emit failed: {}", Error);
14 }
15
16 Ok(Value::Null)
17}