lib/ProMotion/delegate/delegate_helper.rb in ProMotion-0.7.0 vs lib/ProMotion/delegate/delegate_helper.rb in ProMotion-0.7.1

- old
+ new

@@ -9,11 +9,14 @@ on_load application, launch_options check_for_push_notification launch_options - true - + # This will work when RubyMotion fixes a bug. + # defined?(super) ? super : true + + # Workaround for now. Will display a NoMethodError, but ignore. + super rescue true end def applicationWillTerminate(application) on_unload if respond_to?(:on_unload)