Merge pull request #7579 from sethalves/log-about-webengine-remote-debugging

Log about webengine remote debugging
This commit is contained in:
Brad Hefta-Gaub 2016-04-06 08:28:37 -07:00
commit 51660ab3a8

View file

@ -38,6 +38,8 @@
#include <QtMultimedia/QMediaPlayer>
#include <QProcessEnvironment>
#include <gl/QOpenGLContextWrapper.h>
#include <ResourceScriptingInterface.h>
@ -1122,6 +1124,10 @@ void Application::aboutToQuit() {
}
void Application::cleanupBeforeQuit() {
// add a logline indicating if QTWEBENGINE_REMOTE_DEBUGGING is set or not
QString webengineRemoteDebugging = QProcessEnvironment::systemEnvironment().value("QTWEBENGINE_REMOTE_DEBUGGING", "false");
qCDebug(interfaceapp) << "QTWEBENGINE_REMOTE_DEBUGGING =" << webengineRemoteDebugging;
// 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);