TQFileDialog: cleanup pixmaps before destroying TQApplication #138
Merged
MicheleC
merged 1 commits from other/filedialog-pixmaps-cleanup
into master
2 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'other/filedialog-pixmaps-cleanup'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Otherwise it results in small memmory leakage on exit of Xlib data.
It seems good.
Right after the definition of
qfd_cleanup_pixmap
there is the definition ofqfd_cleanup_string
in the exact same manner. Seems to me this also requires to be clean up when the application exits. Perhaps we can use the same post routine to clean up both?TQCleanupHandler
will cleanup everything on destruction anyway. The difference is the TQPixmaps should be destroyed before TQApplication, when the TQStrings can safely wait till the destruction of statics. So it's fine to leave those up to mercy of the destructor...Ah ah, I see. Thanks for the clarification.
Btw, you should have an email from Slavek in your inbox from a few days ago, in case you missed that @Fat-Zer
9ffacc2652
tofb0d62eec8
2 months agofb0d62eec8
into master 2 months agoReviewers
fb0d62eec8
.