Skip to content

Commit

Permalink
fix issues#1
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglei01 committed Dec 14, 2017
1 parent addc5de commit 6ea06a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gracenet/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ func (n *Net) StartProcess() (int, error) {
if err != nil {
return 0, err
}
syscall.SetNonblock(int(files[i].Fd()), true)
defer files[i].Close()
}

Expand Down

0 comments on commit 6ea06a4

Please sign in to comment.