util/winutil/gp: fix a busy loop bug

Updates #12687

Signed-off-by: Nick Khyl <nickk@tailscale.com>
pull/12623/head
Nick Khyl 4 months ago committed by Nick Khyl
parent d9d9d525d9
commit 4099a36468

@ -189,6 +189,7 @@ func (l *PolicyLock) lockSlow() (err error) {
select {
case resultCh <- policyLockResult{handle, err}:
// lockSlow has received the result.
break send_result
default:
select {
case <-closing:

Loading…
Cancel
Save