예제 #1
0
void InspectorController::close()
{
    if (!m_inspectorFrontend)
        return;
    disconnectFrontend();
    m_inspectorClient->closeInspectorFrontend();
}
예제 #2
0
void InspectorController::inspectedPageDestroyed()
{
    disconnectFrontend();
    m_injectedScriptManager->disconnect();
    m_inspectorClient = 0;
    m_page = 0;
}
예제 #3
0
void InspectorController::close()
{
    if (!m_inspectorFrontend)
        return;
    m_inspectorFrontend->inspector()->disconnectFromBackend();
    disconnectFrontend();
}
예제 #4
0
void InspectorController::inspectedPageDestroyed()
{
    disconnectFrontend(InspectorDisconnectReason::InspectedTargetDestroyed);
    m_injectedScriptManager->disconnect();
    m_inspectorClient->inspectorDestroyed();
    m_inspectorClient = nullptr;
}
예제 #5
0
void InspectorController::close()
{
    if (!m_inspectorFrontendChannel)
        return;
    disconnectFrontend(InspectorDisconnectReason::InspectorDestroyed);
    m_inspectorClient->closeInspectorFrontend();
}
예제 #6
0
void WorkerInspectorController::workerTerminating()
{
    m_injectedScriptManager->disconnect();

    disconnectFrontend(Inspector::DisconnectReason::InspectedTargetDestroyed);

    m_agents.discardValues();
}
예제 #7
0
void InspectorController::reconnectFrontend()
{
    if (!m_inspectorFrontend)
        return;
    InspectorFrontendChannel* frontendChannel = m_inspectorFrontend->channel();
    String hostId = m_hostId;
    disconnectFrontend();
    connectFrontend(hostId, frontendChannel);
}
예제 #8
0
void InspectorController::inspectedPageDestroyed()
{
    disconnectFrontend();
    InspectorInstrumentation::unregisterInstrumentingAgents(m_instrumentingAgents.get());
    m_injectedScriptManager->disconnect();
    m_inspectorClient->inspectorDestroyed();
    m_inspectorClient = 0;
    m_page = 0;
}
void InspectorController::willBeDestroyed()
{
    disconnectFrontend();
    m_injectedScriptManager->disconnect();
    m_inspectorClient = 0;
    m_page = nullptr;
    m_instrumentingAgents->reset();
    m_agents.discardAgents();
    if (m_inspectorFrontendClient)
        m_inspectorFrontendClient->dispose();
}
예제 #10
0
void InspectorController::inspectedPageDestroyed()
{
    disconnectFrontend();
#if ENABLE(JAVASCRIPT_DEBUGGER)
    m_domDebuggerAgent.clear();
    m_debuggerAgent.clear();
#endif
    m_injectedScriptManager->disconnect();
    m_inspectorClient->inspectorDestroyed();
    m_inspectorClient = 0;
    m_page = 0;
}
예제 #11
0
void InspectorController::willBeDestroyed()
{
#if ENABLE(ASSERT)
    ASSERT(m_page->mainFrame());
    if (m_page->mainFrame()->isLocalFrame())
        ASSERT(m_page->deprecatedLocalMainFrame()->view());
#endif

    disconnectFrontend();
    m_injectedScriptManager->disconnect();
    m_inspectorClient = 0;
    m_page = nullptr;
    m_instrumentingAgents->reset();
    m_agents.discardAgents();
    if (m_inspectorFrontendClient)
        m_inspectorFrontendClient->dispose();
}
예제 #12
0
void InspectorAgent::inspectedPageDestroyed()
{
    if (m_frontend) {
        m_frontend->inspector()->disconnectFromBackend();
        disconnectFrontend();
    }

#if ENABLE(JAVASCRIPT_DEBUGGER)
    m_domDebuggerAgent.clear();
    m_debuggerAgent.clear();
#endif

    ASSERT(m_inspectedPage);
    InspectorInstrumentation::unbindInspectorAgent(m_inspectedPage);
    m_inspectedPage = 0;

    m_injectedScriptManager->disconnect();

    m_client->inspectorDestroyed();
    m_client = 0;
}
WorkerInspectorController::~WorkerInspectorController()
{
    m_instrumentingAgents->reset();
    disconnectFrontend(InspectorDisconnectReason::InspectedTargetDestroyed);
}
예제 #14
0
void WorkerInspectorController::dispose()
{
    m_instrumentingAgents->reset();
    disconnectFrontend();
}
WorkerInspectorController::~WorkerInspectorController()
{
    disconnectFrontend();
}
예제 #16
0
void V8Inspector::dispose()
{
    disconnectFrontend();
}
예제 #17
0
파일: V8Inspector.cpp 프로젝트: CWYQ/node
V8Inspector::~V8Inspector()
{
    disconnectFrontend();
}
void WorkerInspectorController::dispose()
{
    disconnectFrontend();
}
void JSGlobalObjectInspectorController::globalObjectDestroyed()
{
    disconnectFrontend(DisconnectReason::InspectedTargetDestroyed);

    m_injectedScriptManager->disconnect();
}
void WorkerInspectorController::dispose() {
  disconnectFrontend();
  m_thread = nullptr;
}