core: fix UAF when calling Qt.quit or Qt.exit

A pointer to the last generation had shutdown() called on it after deletion.
This commit is contained in:
outfoxxed 2024-08-28 15:30:02 -07:00
parent e327d6750d
commit 9967e2e03b
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 5 additions and 0 deletions

View file

@ -19,6 +19,7 @@ public:
void reloadGraph(bool hard);
private slots:
void generationDestroyed();
void onWatchFilesChanged();
void onWatchedFilesChanged();