Skip to content

Commit

Permalink
fix recover bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
name5566 committed Aug 27, 2016
1 parent fc93f26 commit 3836e74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chanrpc/chanrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ func (s *Server) Go(id interface{}, args ...interface{}) {
return
}

defer recover()
defer func() {
recover()
}()

s.ChanCall <- &CallInfo{
f: f,
Expand Down

0 comments on commit 3836e74

Please sign in to comment.