mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 23:30:44 +00:00
After a session is destroyed, Metal returns its memory asynchronously; an immediate reading can sit up to about 45 MiB above the floor it returns to within a second. Read the footprint until two consecutive readings agree within 1 MiB (at most 5 s) for both the baseline and the final sample. The 16 MiB threshold and Metal validation are unchanged, and an injected per-session leak still fails the test. Signed-off-by: Swastick Chowdhury <28708247+Swastickc@users.noreply.github.com>