Fix some summary collection leaks when executing eagerly
Also modifies the assert_no_new_pyobjects_executing_eagerly decorator to explicitly check collections. Preivously it just used gc.get_objects, which misses anything not subject to garbage collection. (Maybe we should disable collections entirely when executing eagerly?) Fixes #20218. (to be verified) PiperOrigin-RevId: 201997703
Loading
Please sign in to comment