Open abhijitpatil181171 opened 10 months ago
Well, that seems to be an interesting bug, although I am not sure whether it is bug with autocad pallete or Tauri, because if the sidecar is running even after closing pallete and the Tauri app, it might even be counted as a MEMORY LEAK and an Orphan process.
@naman-crabnebula
I am facing same issue in windows
When I close tauri from taskbar the node process isn't closing.
tauri::Builder::default()
.setup(|app|) {
let sidecar_command = app.shell().sidecar("node").unwrap().args(["output.cjs"]);
let (mut rx, mut _child) = sidecar_command.spawn().unwrap()
....
It isn't closing automatically. I copy node js exe file and used that in external bin.
Describe the bug
I have create exe of react application where i have added node-sqlite backend as sidecar. when i run exe and close it using × it is closing exe as well as backend and working fine. i have scenerio where i am using this exe with node sidecar opened into autocad pallete window in which i run exe through code and open into pallete .now when i close pallete my exe is closing but node backend is still running in background . how can i close stop backend exe also when i stop my app exe.
Reproduction
No response
Expected behavior
when i close autocad pallete both app exe and side exe should close .
Full
tauri info
outputStack trace
No response
Additional context
No response