Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 13979
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: Mon May 13 09:58:35 CEST 2024

Total time taken to generate the page: 0.02088 seconds