Fix shutdown log level and order per PR review

- Change logger.Info() to logger.Log() for shutdown message to ensure it always logs
- Move stopAudio() before logging to stop audio first, then log shutdown

Addresses PR #718 review comment
This commit is contained in:
Alex P 2025-11-18 02:08:40 +02:00
parent cd2d4d752c
commit 2e84354d78
1 changed files with 1 additions and 2 deletions

View File

@ -140,9 +140,8 @@ func Main() {
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
<-sigs
logger.Info().Msg("JetKVM Shutting Down")
stopAudio()
logger.Log().Msg("JetKVM Shutting Down")
//if fuseServer != nil {
// err := setMassStorageImage(" ")