mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-13 08:59:08 +02:00
Fix review findings for embedded VNC server
This commit is contained in:
@@ -281,6 +281,8 @@ func releasePreventIdleSleep() {
|
||||
}
|
||||
|
||||
func ensureEventSource() uintptr {
|
||||
pmMu.Lock()
|
||||
defer pmMu.Unlock()
|
||||
if darwinEventSource != 0 {
|
||||
return darwinEventSource
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user