-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with rmq.log :tree/Live code reload #240
Comments
Haven't been able to fix the crash yet, I what did was to add a check just to avoid crashing the app.. but it also makes the live reloading not work for the PM:MapScreen Here's what I did: elsif root_view_controller.respond_to?(:childViewControllers) && root_view_controller.childViewControllers.count > 0
current_view_controller(root_view_controller.childViewControllers.first)
else
if root_view_controller.respond_to?(:childViewControllers)
root_view_controller
else
nil
end |
Did you mean to have 2 elses there? |
So there is a few problems with this I've found. I'm fixing it right now. Fix will be in 1.3.4 |
Thanks!! And just to clarify.. the two elses are due to poor indenting and partial code 😃 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I bumped into this issue when playing with the new live code reload feature. My app has a PM::MapScreen, and when live reload is on and I try to open the screen, the app crashes:
I get a similar erro if I try to
rmq.log :tree
on the REPL, minus the app crash.I'm guessing they booth run the same piece of code on app.rb:L133-L134
Tried a couple of simple fixes but no luck. Any idea on how to fix, or a workaround?
Thanks!
The text was updated successfully, but these errors were encountered: