mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 02:53:25 -08:00
SettingsCache owns the stable and beta update channels as raw pointers, but they have no parent and are never deleted. Each owns a QNetworkAccessManager, so the test process leaves QtNetwork objects alive past QApplication teardown. Delete the channels in the SettingsCache destructor so their network managers are destroyed while the application object is still alive. |
||
|---|---|---|
| .. | ||
| cache_settings.cpp | ||
| cache_settings.h | ||
| card_counter_settings.cpp | ||
| card_counter_settings.h | ||
| shortcut_treeview.cpp | ||
| shortcut_treeview.h | ||
| shortcuts_settings.cpp | ||
| shortcuts_settings.h | ||