| 29 | type CapturePanicNotifyFunc func(interface{}, EventQueue) |
| 30 | |
| 31 | type eventQueue struct { |
| 32 | *Pipe |
| 33 | |
| 34 | endSignal sync.WaitGroup |
| 35 | |
| 36 | capturePanic bool |
| 37 | |
| 38 | onPanic CapturePanicNotifyFunc |
| 39 | } |
| 40 | |
| 41 | // 启动崩溃捕获 |
| 42 | func (self *eventQueue) EnableCapturePanic(v bool) { |
nothing calls this directly
no outgoing calls
no test coverage detected