V
Volker Hetzer
Hi!
I've got a problem with the GC.keepalive function,
as used in the examples at
http://msdn2.microsoft.com/en-US/library/system.gc.keepalive.aspx
..
There they have a class "Example", construct it and call a method,
during which it may get collected.
Why would it get collected, before the last method call ends?
Is this a bug on the GC or is there a resson for it?
Lots of greetings!
Volker
I've got a problem with the GC.keepalive function,
as used in the examples at
http://msdn2.microsoft.com/en-US/library/system.gc.keepalive.aspx
..
There they have a class "Example", construct it and call a method,
during which it may get collected.
Why would it get collected, before the last method call ends?
Is this a bug on the GC or is there a resson for it?
Lots of greetings!
Volker