Skip to content

Commit

Permalink
Fix a crash bug
Browse files Browse the repository at this point in the history
Here to determine the conditions of a problem, may lead to the collapse of the process
  • Loading branch information
corerman authored Feb 1, 2018
1 parent 7c27221 commit b9bc837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evio_loop.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func serve(events Events, lns []*listener) error {
}
c := idconn[id]
if c == nil || c.fd == 0 {
if c.opening {
if c!=nil && c.opening {
c.wake = true
ok = true
} else {
Expand Down

0 comments on commit b9bc837

Please sign in to comment.