#876: EXC_BAD_ACCESS using IOBluetooth -------------------------------------------+-------------------------------- Reporter: matt.wizeman@… | Owner: mattaimonetti@… Type: defect | Status: closed Priority: critical | Milestone: MacRuby 0.9 Component: MacRuby | Resolution: invalid Keywords: | -------------------------------------------+-------------------------------- Comment(by mattaimonetti@…): oops I realized there was a typo the pasted code: {{{ def openL2CAPChannelWithPSM(psm, delegate:delegate) @channel = Pointer.new_with_type("@") if (@wiiDevice.openL2CAPChannelSync(@channel, withPSM:psm, delegate:delegate) != KIOReturnSuccess) closeConnection return nil end channel[0] end }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/876#comment:17> MacRuby <http://macruby.org/>