U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Callbacks and Timers » Kill callbacks when parent is destructed
Re: Kill callbacks when parent is destructed [message #43575 is a reply to message #43574] Thu, 04 September 2014 12:29 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
crydev wrote on Thu, 04 September 2014 09:25

I am not operating on the user interface from other threads. I assume that scheduled PostCallback's are automatically removed when the TopWindow is closed, so one of my threads should be causing the problem.


Only Callbacks with id's (and id must >= and < (int)sizeof(Ctrl)) are alternatively removed. Aternatively, TimeCallback helper class callbacks are removed by TimeCallback destructor.

PTE callbacks are not removed, but they are 'emptied' when pointee destructs.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Feature request
Next Topic: Event.execute
Goto Forum:
  


Current Time: Sun Jul 26 17:41:30 GMT+2 2026

Total time taken to generate the page: 0.11661 seconds