In .Net, suppose I create an object that starts an asynchronous process (using Delegate.BeginInvoke using one of its methods), then leaves the object by setting the reference to it null or allowing it to go out of scope. Is the garbage collector going to collect an object during an asynchronous process? If not, what prevents him from collecting the object?
Ken
source
share