diff options
author | Alexander Golubev <[email protected]> | 2024-03-16 08:31:50 +0300 |
---|---|---|
committer | TDE Gitea <[email protected]> | 2024-03-18 09:36:47 +0000 |
commit | b1e6f384640525c5a0caceef017848f8ebee46b8 (patch) | |
tree | 0503258437e109f568af20702e446fc092dc2555 /plugins/src/sqldrivers/psql/README | |
parent | bcda4011918a88064d35908b089a3300e187245a (diff) | |
download | tqt3-b1e6f384640525c5a0caceef017848f8ebee46b8.tar.gz tqt3-b1e6f384640525c5a0caceef017848f8ebee46b8.zip |
Fix TQThreadStorage destruction in the main thread
Before that the allocations of TQThreadStorage objects from the main
thread were never destroyed and memory associated with them were never
freed. The second one isn't a huge problem as at that point program is
terminating anyway (but it still makes valgrind complain). The first one
is the bigger issue as destructors might contain some essential external
cleanups like removing temporary files.
Also make `TQApplication::guiThread()` return `0` when the thread is
destroyed (may happen on the program exiting during destruction of
statics).
Signed-off-by: Alexander Golubev <[email protected]>
Diffstat (limited to 'plugins/src/sqldrivers/psql/README')
0 files changed, 0 insertions, 0 deletions