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++ Widgets - General questions or Mixed problems » Random problems with destructors in GUI classes
Re: Random problems with destructors in GUI classes [message #49444 is a reply to message #49443] Sun, 11 February 2018 08:25 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Sat, 10 February 2018 23:53
Hello Mirek

I did not know that 'virtuality' of destructor is inherited. In fact high level U++ GUI classes like ArrayCtrl have empty virtual destructors.


That was workaround for some old compiler bug.

Quote:

It is like some destructor supposes that parent control already has not been closed.


Indeed. However, I am unable to reproduce so far.

Is this some sort of new behaviour? (Like: has this started to happen since some time? Have you changed anything in ScatterCtrl?)

Any tips how to reproduce?

Quote:

Two samples:
index.php?t=getfile&id=5502&private=0

index.php?t=getfile&id=5503&private=0

[/quote]

BTW, you can copy backtrace to clipboard using Debug/Copy backtrace
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FOUR State Option button
Next Topic: Ctrl creation via dll stuff
Goto Forum:
  


Current Time: Sat May 04 19:53:10 CEST 2024

Total time taken to generate the page: 0.03994 seconds