From dd8d0fbe7ac5bdd27b60a14114265ebb152537b7 Mon Sep 17 00:00:00 2001 From: Andreas Eulitz Date: Wed, 3 Aug 2022 15:07:30 -0700 Subject: [PATCH] fix reload hang after debugger break and continue --- ReactCommon/hermes/inspector/chrome/ConnectionDemux.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ReactCommon/hermes/inspector/chrome/ConnectionDemux.cpp b/ReactCommon/hermes/inspector/chrome/ConnectionDemux.cpp index 7b35662eec8c60..55dab8dc17216e 100644 --- a/ReactCommon/hermes/inspector/chrome/ConnectionDemux.cpp +++ b/ReactCommon/hermes/inspector/chrome/ConnectionDemux.cpp @@ -132,6 +132,8 @@ void ConnectionDemux::removePage(int pageId) { globalInspector_.removePage(pageId); auto conn = conns_.at(pageId); + std::string title = conn->getTitle(); + inspectedContexts_->erase(title); conn->disconnect(); conns_.erase(pageId); }