core/reloader: fix UAF of old generation during scene destroy

This commit is contained in:
outfoxxed 2024-04-20 00:36:25 -07:00
parent 97bcdbecc1
commit 31462b9797
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 15 additions and 6 deletions

View file

@ -43,6 +43,8 @@ public:
DelayedQmlIncubationController delayedIncubationController;
bool reloadComplete = false;
void destroy();
signals:
void filesChanged();
void reloadFinished();