macOS: Java not killed after exiting app
Running 0.11.0. After opening and quitting the server app, execute ps -ef | grep java in terminal:
501 9051 1 0 2:08PM ?? 0:03.52 /usr/bin/java -Xmx512M -jar slimevr.jar run
501 9092 6866 0 2:08PM ttys002 0:00.00 grep --color=auto java
You may see that the java process was not killed. This causes the app to complain "startup error: required ports are busy" on the next run.
can you please show server and gui logs
Where do I get those logs?
sorry forgot to answer ~/Library/Logs/dev.slimevr.SlimeVR
log_last_0.log slimevr_rCURRENT.log This was collected after after I killed java after quitting the app.
uhm, did you ever close the app? because GUI logs never say it closed...
do you have tray enabled?
probably related to https://github.com/tauri-apps/tauri/issues/9198, i suspect that Command+Q or Quit is passing as a kill command more than an ExitRequested in Tauri
That's exactly what I just found out. It handles a click on the X button just fine but not Cmd+Q.
We need to intercept RunEvent::Exit then