[Kde-bindings] KDE/kdebindings

Arno Rehn arno at arnorehn.de
Sat Aug 11 16:55:45 UTC 2007


Am Samstag 11 August 2007 18:51:00 schrieb Richard Dale:
> On Saturday 11 August 2007, Arno Rehn wrote:
> > -                       ((GCHandle) handle).Free();
> > +                       if (handle != IntPtr.Zero) ((GCHandle)
> > handle).Free();
>
> Is this a symptom of a bug somewhere else that we need to fix? When does
> this occur?
I wrote a small test app where a signal which takes a QUrl was connected to a 
slot which also takes a QUrl. It worked well, but after the slot was called a 
few times mono crashed stating that a GCHandle was zero when it tried to free 
it. It hasn't happend a second time since then, though. Maybe there's a small 
bug in the slot invocation thing.


-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list