Skip to content

Commit

Permalink
internal/windows: deadlock fix (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
stenya authored Apr 29, 2023
1 parent 350f9d9 commit 925a1e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/wgwindows/client_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ func (c *Client) interfaceHandle(name string) (handle windows.Handle, err error)
if err == nil {
break
}
if err == windows.ERROR_FILE_NOT_FOUND {
return 0, err
}
}
return
}
Expand Down

0 comments on commit 925a1e7

Please sign in to comment.