forked from quickshell/quickshell
core: run full destruction sequence before exiting
Fixes QTimer messages.
This commit is contained in:
parent
3033cba52d
commit
6efa05a8eb
2 changed files with 34 additions and 3 deletions
|
@ -61,9 +61,15 @@ private slots:
|
|||
void onFileChanged(const QString& name);
|
||||
void onDirectoryChanged();
|
||||
void incubationControllerDestroyed();
|
||||
void quit();
|
||||
void exit(int code);
|
||||
|
||||
private:
|
||||
void postReload();
|
||||
void assignIncubationController();
|
||||
QVector<QPair<QQmlIncubationController*, QObject*>> incubationControllers;
|
||||
|
||||
bool destroying = false;
|
||||
bool shouldTerminate = false;
|
||||
int exitCode = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue