[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Object crashes app after being deleted
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-09-28 16:27:41
Message-ID: 200609281827.42252.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Robert Hogan wrote:
>The problem appears to be when another qobject is called by the qobject
> i'm trying to delete. deletelater() still results in a crash. The
> nested qobject is qhttp modified to block (i.e. kapp->processevents())
> until it gets a response.
>
>Am i right in thinking that blocking with kapp->processevents() this way
> is preventing deletelater() from working 'properly' in this case?

You're right to think that processEvents() is the cause of your problem 
and should be avoided whenever possible.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic