Takes any number of disposables as arguments and attempts to dispose them after a zero timeout.
Exceptions are logged but not thrown.
WARNING: Use this unsafe method when guaranteed not to cause events that will make modifications to the disposables array.
Parameters
disposables: DisposableItemArray
The objects to dispose of. Can accept and will ignore objects that don't have a dispose() method.
delay: number = 0
Milliseconds to wait before disposing. Default is zero (0). A higher number could have detrimental consequences or could improve foreground performance.
Takes any number of disposables as arguments and attempts to dispose them after a zero timeout. Exceptions are logged but not thrown. WARNING: Use this unsafe method when guaranteed not to cause events that will make modifications to the disposables array.