2010-04-16 Sebastien Pouliot <sebastien@ximian.com>
[mono/afaerber.git] / web / delegate
blob8d2a77151e69e44d52d849df9cc9d6695c3dffdc
1 * Your Delegate Has Been Garbage Collected.
3         The program that you are running passed a delegate into the
4         unmanaged world but failed to keep a reference to this
5         delegate in the managed world, so the delegate was garbage
6         collected.
8         This means that the the delegate is no longer valid, but the
9         unmanaged library or unmanaged code tried to call it.
11         To fix this problem make sure that you keep a handle to the
12         delegate that you are passing into the unmanaged world.
14         This happens since Mono has no visibility into the unmanaged
15         world and it does not know that the unmanaged world has kept a
16         reference to your delegate.  As far as the Mono runtime is
17         concerned the delegate must be garbage collected.
19         For more information see:
21         <a href="http://blogs.msdn.com/dangriff/archive/2003/11/19/51709.aspx">http://blogs.msdn.com/dangriff/archive/2003/11/19/51709.aspx</a>
23