mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Reset MessagePort's worker event target when it is disentangled
This commit is contained in:
parent
83be2606db
commit
d44dd756b3
Notes:
github-actions[bot]
2024-10-17 20:35:46 +00:00
Author: https://github.com/trflynn89
Commit: d44dd756b3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1835
Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,8 @@ void MessagePort::disentangle()
|
|||
m_remote_port = nullptr;
|
||||
|
||||
m_socket = nullptr;
|
||||
|
||||
m_worker_event_target = nullptr;
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/web-messaging.html#entangle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue