It is possible for getGlobalsAndPackages() to return a $globals slot that isn't a FutureGlobals and doesn't have a resolved total_size attribute (https://github.com/HenrikBengtsson/future/issues/410). Here we try and resolve those edge cases manually to avoid double calls to objectSize()
It is possible for
getGlobalsAndPackages()
to return a$globals
slot that isn't a FutureGlobals and doesn't have a resolvedtotal_size
attribute (https://github.com/HenrikBengtsson/future/issues/410). Here we try and resolve those edge cases manually to avoid double calls toobjectSize()