{"action":"closed","issue":{"url":"https://api.github.com/repos/clearsightstudio/ProMotion/issues/651","labels_url":"https://api.github.com/repos/clearsightstudio/ProMotion/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/clearsightstudio/ProMotion/issues/651/comments","events_url":"https://api.github.com/repos/clearsightstudio/ProMotion/issues/651/events","html_url":"https://github.com/clearsightstudio/ProMotion/issues/651","id":64133477,"number":651,"title":"ProMotion 2.3 - `open_tab_bar` from a screen causes a WeakRef crash","user":{"login":"carlinisaacson","id":1761434,"avatar_url":"https://avatars.githubusercontent.com/u/1761434?v=3","gravatar_id":"","url":"https://api.github.com/users/carlinisaacson","html_url":"https://github.com/carlinisaacson","followers_url":"https://api.github.com/users/carlinisaacson/followers","following_url":"https://api.github.com/users/carlinisaacson/following{/other_user}","gists_url":"https://api.github.com/users/carlinisaacson/gists{/gist_id}","starred_url":"https://api.github.com/users/carlinisaacson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlinisaacson/subscriptions","organizations_url":"https://api.github.com/users/carlinisaacson/orgs","repos_url":"https://api.github.com/users/carlinisaacson/repos","events_url":"https://api.github.com/users/carlinisaacson/events{/privacy}","received_events_url":"https://api.github.com/users/carlinisaacson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clearsightstudio/ProMotion/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T00:20:37Z","updated_at":"2015-04-03T16:57:39Z","closed_at":"2015-04-03T16:57:39Z","body":"When calling `open_tab_bar` from a screen and not from the app delegate, selecting a tab causes a crash.\r\n\r\nCrash error:\r\n\r\n```shell\r\n2015-03-24 17:07:23.682 Outstand[8572:13936577] tab_bar_controller.rb:66:in `on_tab_selected_try:': Invalid Reference - probably recycled (WeakRef::RefError)\r\n\tfrom tab_bar_controller.rb:48:in `tabBarController:didSelectViewController:'\r\n2015-03-24 17:07:23.719 Outstand[8572:13936577] *** Terminating app due to uncaught exception 'WeakRef::RefError', reason: 'tab_bar_controller.rb:66:in `on_tab_selected_try:': Invalid Reference - probably recycled (WeakRef::RefError)\r\n\tfrom tab_bar_controller.rb:48:in `tabBarController:didSelectViewController:'\r\n'\r\n```\r\n\r\nCode that causes crash:\r\nhttps://github.com/clearsightstudio/ProMotion/blob/version-2.3/lib/ProMotion/cocoatouch/tab_bar_controller.rb#L65-L69"}}