Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When calling `amrex.finalize()`, first call the Python garbage collector. This is purely a bandage to make usage like this easy: ```py import amrex amrex.initialize([]) mfab = amrex.MultiFab( ... ) del mfab amrex.finalize() ``` Respect the Python standard guarantees without furhter headache, by running an explicit call to the garbage collector. Previously, this was only working with CPython, but alternative implementations like PyPy might delay the true free due to time based memory collection approaches.
- Loading branch information