lib/motion/util.rb in rm-extensions-0.4.3 vs lib/motion/util.rb in rm-extensions-0.4.4
- old
+ new
@@ -36,10 +36,10 @@
x
end
def initialize(desc=nil)
@desc = "#{rmext_object_desc} #{desc}"
- @bgTask = UIApplication.sharedApplication.beginBackgroundTaskWithName(@desc, expirationHandler:lambda do
+ @bgTask = UIApplication.sharedApplication.beginBackgroundTaskWithExpirationHandler(lambda do
p "ERROR: #{@desc} didn't call #end! in time!"
__end!
end)
self
end