mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +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
Notes:
sideshowbarker
2024-07-17 00:27:16 +09:00
Author: https://github.com/kevmeyer
Commit: f86ec46a6e
Pull-request: https://github.com/SerenityOS/serenity/pull/22525
Reviewed-by: https://github.com/trflynn89 ✅
1 changed files with 5 additions and 1 deletions
|
@ -173,10 +173,14 @@ InspectorClient::InspectorClient(ViewImplementation& content_web_view, ViewImple
|
|||
|
||||
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_console_message = 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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue