Avoid instantiating the module during recalculate

bug/bundler_fix
HD Moore 2015-03-12 01:02:37 -05:00
parent f676dc03c8
commit 376d05f797
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class PayloadSet < ModuleSet
# Cache the payload's size # Cache the payload's size
begin begin
sizes[name] = p.new.size sizes[name] = p.cached_size || p.new.size
# Don't cache generic payload sizes. # Don't cache generic payload sizes.
rescue NoCompatiblePayloadError rescue NoCompatiblePayloadError
end end