Ignore observables notification after ~Application.

This commit is contained in:
John Preston 2020-06-08 12:20:51 +04:00
parent 7757cad839
commit 9f6fc3a4c8
2 changed files with 4 additions and 4 deletions

View File

@ -84,9 +84,9 @@ Sandbox::Sandbox(
: QApplication(argc, argv)
, _mainThreadId(QThread::currentThreadId())
, _handleObservables([=] {
Expects(_application != nullptr);
_application->call_handleObservables();
if (_application) {
_application->call_handleObservables();
}
})
, _launcher(launcher) {
}

@ -1 +1 @@
Subproject commit dbcb6a35b0cf47bac83d596a239a61b0084f9f4c
Subproject commit 4ef97b57f6925ac9f1e3221676f49dffb4fe8c19