EEVEE doesn't trigger a render step between samples which leads to not recycling memory on Metal backend leading to slower animation rendering and even out of memory. This PR uses the same approach as for workbench to solve the issue. NOTE: Fix needs to be backported to 4.2 Pull Request: https://projects.blender.org/blender/blender/pulls/126781