You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var voiceOverlayController: VoiceOverlayController {
let recordableHandler = {
return SpeechController(locale: Locale(identifier: "en_US"))
}
return VoiceOverlayController(speechControllerHandler: recordableHandler)
}
I get a crash when run:
inputViewController.dismissHandler = { [unowned self] (retry) in
self.inputViewController = nil
if retry {
self.showRecordingScreen(view)
}
}
Fatal error: Attempted to read an unowned reference but the object was already deallocated2019-01->10 10:09:32.479917+0700 hoaanhdao[2018:372531] Fatal error: Attempted to read an unowned >reference but the object was already deallocated
(lldb)
The text was updated successfully, but these errors were encountered:
Hi @tamdragle - I think this is probably related to this issue here #4 (comment). Basically you're losing reference to the voice controller. You need to keep a strong reference to it.
Feel free to re-open the issue if it doesn't solve your issue
When I change change locale like so:
I get a crash when run:
The text was updated successfully, but these errors were encountered: