mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Reset MessagePort's worker event target when it is disentangled
This commit is contained in:
parent
83be2606db
commit
d44dd756b3
|
|
@ -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…
Reference in New Issue
Block a user