This topic has been archived. It cannot be replied.
-
工作学习 / 学科技术讨论 / has anyone dealt with "A callback was made on a garbage collected delegate of type" problem? I am writing a wrapper, it's almost working except getting that error occasionally. I have tried many ways such as using static... still no luck. :(
-sowen(昂居居);
2009-3-3
(#5091062@0)
-
maybe something wrong with the synconization of threads or your wrap affected the context switch timing.
-qwertyasd(东北人);
2009-3-4
(#5091419@0)
-
no, I finally figured it out today, it's due to the handle delegate I was using. A handle can be moved around during GC, after I pin the handle location, it works fine now! :)
-sowen(昂居居);
2009-3-4
(#5093206@0)