rmq icon indicating copy to clipboard operation
rmq copied to clipboard

Infinite loop when getting rmq.view_controller from a tab bar screen using the more tab.

Open markrickert opened this issue 10 years ago • 0 comments

See demo repository here: https://github.com/markrickert/rmq.view_controller

Steps to reproduce:

  1. bundle
  2. rake
  3. Type into the REPL: rmq.view_controller.
  4. Switch to a new tab and try again.
  5. Switch to the "more" tab and try again. Notice it returns a UIMoreListController.
  6. Tap into a view controller in the more tab and try again.
  7. Crash.

Crashlog produces what looks like an infinite loop. Possible offending code here: https://github.com/infinitered/rmq/blob/cd30cecb1e097cf36b4b9727f34854ddb167c360/motion/ruby_motion_query/app.rb#L121-L144

Note that it also crashes when you just type rmq into the REPL so it may be a more overarching problem.

markrickert avatar Jun 21 '15 20:06 markrickert