aboutsummaryrefslogtreecommitdiffstats
path: root/support/hololens/ServoApp/Devtools/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'support/hololens/ServoApp/Devtools/Client.cpp')
-rw-r--r--support/hololens/ServoApp/Devtools/Client.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/hololens/ServoApp/Devtools/Client.cpp b/support/hololens/ServoApp/Devtools/Client.cpp
index 8a10ce65cdc..c7d1b7cfc89 100644
--- a/support/hololens/ServoApp/Devtools/Client.cpp
+++ b/support/hololens/ServoApp/Devtools/Client.cpp
@@ -133,7 +133,9 @@ void DevtoolsClient::HandleMessage(JsonObject obj) {
// Ignore
return;
} else if (obj.GetNamedString(L"type") == L"tabNavigated") {
- // Ignore
+ if (obj.HasKey(L"state") && obj.GetNamedString(L"state") == L"stop") {
+ mDelegate.ClearConsole();
+ }
return;
} else if (obj.GetNamedString(L"type") == L"networkEventUpdate") {
// FIXME: log if there is a non-200 HTTP response