> But what keeps the delegate from getting GC'd between the > call to BeginInvoke and when my callback is invoked? Where's > the rooted > reference?
On the queue of work items the thread pool threads are processing. When a thread from the pool gets around to plucking the entry off the queue that holds the ref to the target delgate (as well as the optional on-done callback delegate and optional state arg), and calls the target method and optional on-done callback method, will it let go of those references. -Mike http://staff.develop.com/woodring http://www.develop.com/devresources You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
