safety and hopefully fix crashing bug with GPU mode.

This commit is contained in:
KingKDot
2026-05-07 19:41:47 -05:00
parent 3b51d7f5b6
commit 1a0dc05222
10 changed files with 101 additions and 15 deletions
@@ -859,7 +859,10 @@ func uiaEnsureWorker() {
uiaWorkerOnce.Do(func() {
uiaWorkerCh = make(chan func(), 64)
uiaWorkerDone = make(chan struct{})
go uiaWorkerLoop()
go func() {
defer recoverAndLog("hvnc uia worker", nil)
uiaWorkerLoop()
}()
})
}