aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qqmlinspectorservice.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-15 10:11:02 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-23 14:16:46 +0000
commit2cc48fbdb2eb10858045eb4877c45d981fa55698 (patch)
treefef01c447820e6792d66051bfbbfa99394830847 /src/qml/debugger/qqmlinspectorservice.cpp
parent9cb604efb5f33571917f431f9d7c9eece4756333 (diff)
Don't remove inspector service if no plugins are available
The client most likely won't be able to deal with a previously announced service suddenly disappearing anyway. All other services only deregister themselves once the server shuts down and this behavior will become mandatory in order to reduce thread synchronization problems. Change-Id: I76e812f3dbcb2cd48eccf9b5a8829751ef7463f0 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/debugger/qqmlinspectorservice.cpp')
-rw-r--r--src/qml/debugger/qqmlinspectorservice.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/debugger/qqmlinspectorservice.cpp b/src/qml/debugger/qqmlinspectorservice.cpp
index 0bc1257b75..7cd8b796ec 100644
--- a/src/qml/debugger/qqmlinspectorservice.cpp
+++ b/src/qml/debugger/qqmlinspectorservice.cpp
@@ -33,7 +33,6 @@
#include "qqmlinspectorservice_p.h"
#include "qqmlinspectorinterface_p.h"
-#include "qqmldebugserver_p.h"
#include <private/qqmlglobal_p.h>
@@ -104,7 +103,6 @@ void QQmlInspectorService::updateState()
if (m_inspectorPlugins.isEmpty()) {
qWarning() << "QQmlInspector: No plugins found.";
- QQmlDebugServer::instance()->removeService(this);
return;
}