core/reloader: fix more crashes (not all of them)

This commit is contained in:
outfoxxed 2024-04-20 02:59:50 -07:00
parent 31462b9797
commit c6e5a35745
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 52 additions and 21 deletions

View file

@ -36,7 +36,7 @@ public:
QmlScanner scanner;
QsUrlInterceptor urlInterceptor;
QsInterceptNetworkAccessManagerFactory interceptNetFactory;
QQmlEngine engine;
QQmlEngine* engine = nullptr;
ShellRoot* root = nullptr;
SingletonRegistry singletonRegistry;
QFileSystemWatcher* watcher = nullptr;