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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/delegate')
-rw-r--r--web/delegate23
1 files changed, 23 insertions, 0 deletions
diff --git a/web/delegate b/web/delegate
new file mode 100644
index 00000000000..8d2a77151e6
--- /dev/null
+++ b/web/delegate
@@ -0,0 +1,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>
+
+