Fix Carbon return value

This commit is contained in:
yicheng 2019-11-01 20:52:21 +08:00
parent 3bfaa965ba
commit e628197eb0
1 changed files with 1 additions and 2 deletions

View File

@ -116,8 +116,7 @@ fileprivate class ProxyGroupSpeedTestMenuItemView: NSView {
guard let userData = userData else { return 0 }
let itemView: ProxyGroupSpeedTestMenuItemView = bridge(ptr: userData)
itemView.startBenchmark()
let response = CallNextEventHandler(eventHandlerCallRef, eventRef!)
return response
return 0
}
let eventSpecs = [EventTypeSpec(eventClass: OSType(kEventClassMouse), eventKind: UInt32(kEventMouseUp))]