mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
Ladybird+LibWebView: Cleanup missing callbacks in InspectorClient
This was causing reproducible crashes, when closing the inspector window of ladybird running on macos.
This commit is contained in:
parent
6231aee761
commit
f86ec46a6e
1 changed files with 5 additions and 1 deletions
|
@ -173,10 +173,14 @@ InspectorClient::InspectorClient(ViewImplementation& content_web_view, ViewImple
|
||||||
|
|
||||||
InspectorClient::~InspectorClient()
|
InspectorClient::~InspectorClient()
|
||||||
{
|
{
|
||||||
m_content_web_view.on_received_dom_tree = nullptr;
|
m_content_web_view.on_finshed_editing_dom_node = nullptr;
|
||||||
m_content_web_view.on_received_accessibility_tree = nullptr;
|
m_content_web_view.on_received_accessibility_tree = nullptr;
|
||||||
m_content_web_view.on_received_console_message = nullptr;
|
m_content_web_view.on_received_console_message = nullptr;
|
||||||
m_content_web_view.on_received_console_messages = nullptr;
|
m_content_web_view.on_received_console_messages = nullptr;
|
||||||
|
m_content_web_view.on_received_dom_node_html = nullptr;
|
||||||
|
m_content_web_view.on_received_dom_node_properties = nullptr;
|
||||||
|
m_content_web_view.on_received_dom_tree = nullptr;
|
||||||
|
m_content_web_view.on_received_hovered_node_id = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void InspectorClient::inspect()
|
void InspectorClient::inspect()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue