mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-06 05:05:07 +02:00
log value of QTWEBENGINE_REMOTE_DEBUGGING before exit
This commit is contained in:
parent
08a19c0471
commit
d8282ae799
1 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,8 @@
|
|||
|
||||
#include <QtMultimedia/QMediaPlayer>
|
||||
|
||||
#include <QProcessEnvironment>
|
||||
|
||||
#include <gl/QOpenGLContextWrapper.h>
|
||||
|
||||
#include <ResourceScriptingInterface.h>
|
||||
|
@ -1120,6 +1122,11 @@ void Application::aboutToQuit() {
|
|||
}
|
||||
|
||||
void Application::cleanupBeforeQuit() {
|
||||
// add a logline indicating if QTWEBENGINE_REMOTE_DEBUGGING is set or not
|
||||
QProcessEnvironment env;
|
||||
bool webengineRemoteDebuggingSet = env.keys().contains("QTWEBENGINE_REMOTE_DEBUGGING");
|
||||
qCDebug(interfaceapp) << "QTWEBENGINE_REMOTE_DEBUGGING =" << webengineRemoteDebuggingSet;
|
||||
|
||||
// Stop third party processes so that they're not left running in the event of a subsequent shutdown crash.
|
||||
#ifdef HAVE_DDE
|
||||
DependencyManager::get<DdeFaceTracker>()->setEnabled(false);
|
||||
|
|
Loading…
Reference in a new issue