The dispose() method would resolve before a subscription that has cleanup tasks in a return() method has completed. This change allows those subscriptions to complete so that awaiting dispose() will ensure that all subscription cleanup tasks have completed
The
dispose()
method would resolve before a subscription that has cleanup tasks in areturn()
method has completed. This change allows those subscriptions to complete so that awaitingdispose()
will ensure that all subscription cleanup tasks have completed