Welcome to mirror list, hosted at ThFree Co, Russian Federation.

delegate « web - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8d2a77151e69e44d52d849df9cc9d6695c3dffdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
* Your Delegate Has Been Garbage Collected.

	The program that you are running passed a delegate into the
	unmanaged world but failed to keep a reference to this
	delegate in the managed world, so the delegate was garbage
	collected.

	This means that the the delegate is no longer valid, but the
	unmanaged library or unmanaged code tried to call it.

	To fix this problem make sure that you keep a handle to the
	delegate that you are passing into the unmanaged world.

	This happens since Mono has no visibility into the unmanaged
	world and it does not know that the unmanaged world has kept a
	reference to your delegate.  As far as the Mono runtime is
	concerned the delegate must be garbage collected.

	For more information see:

	<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>