Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions lib/routable/router.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,6 @@ def controller_for_url(url)

if open_options[:shared]
shared_vc_cache[url] = controller
# when controller.viewDidUnload called, remove from cache.
controller.class.class_eval do
define_method(:new_dealloc) do
shared_vc_cache.delete url
end
end
controller.instance_eval do
def viewDidUnload
new_dealloc
super
end
end
end

transition = open_options[:transition]
Expand Down