Open
Description
The current implementation would invoke the provided callback immediately if an object is already disposed:
This is different from the default behaviour of the Event
object, hence we need to make sure they are consistent.
See #248357 for more details.