Skip to content

Commit 925a1e7

Browse files
authored
internal/windows: deadlock fix (#133)
1 parent 350f9d9 commit 925a1e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/wgwindows/client_windows.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ func (c *Client) interfaceHandle(name string) (handle windows.Handle, err error)
103103
if err == nil {
104104
break
105105
}
106+
if err == windows.ERROR_FILE_NOT_FOUND {
107+
return 0, err
108+
}
106109
}
107110
return
108111
}

0 commit comments

Comments
 (0)