Fix review findings for embedded VNC server

This commit is contained in:
Viktor Liu
2026-06-10 10:57:50 +02:00
parent 2fdc3aea4c
commit f2c79201b3
39 changed files with 694 additions and 289 deletions
+2
View File
@@ -281,6 +281,8 @@ func releasePreventIdleSleep() {
}
func ensureEventSource() uintptr {
pmMu.Lock()
defer pmMu.Unlock()
if darwinEventSource != 0 {
return darwinEventSource
}