Codebase list golang-gopkg-eapache-go-resiliency.v1 / c7ef7e7
Short-circuit the fast path without locking Evan Huus 9 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
6262 }()
6363 return x()
6464 }()
65
66 if result == nil && panicValue == nil && state == closed {
67 // short-circuit the normal, success path without contending
68 // on the lock
69 return nil
70 }
6571
6672 b.processResult(result, panicValue)
6773