[Mono-list] mono 1.2.6

Robert Jordan robertj at gmx.net
Tue Dec 11 14:44:34 EST 2007


Scott Fluto wrote:
> I reported a couple bugs so far but I havnt been able to isolate the
> problems since they seem to be random. I suspect some of them had to do
> with interop, especially doing interop in the distructor. We do a lot of
> interop and when the C# class gets destroyed it will do an interop call
> to the c++ side to cleanup its memory.  I found doing these interop
> calls in the destructor seems to cause a lot of the crashing and
> hanging.

Does you C++ code cope with the fact that finalizers are called from
a different thread?

Robert



More information about the Mono-list mailing list