All objects added to this array are closed, in the reversed order as they appear in the array.
This is a synchronous function, so that any AsyncDisposable objects in the array would have its
asyncDispose method is called but not awaited.
This array is cleared and can be reused.
A list of objects that can be closed or disposed.