mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
[DOM] Fix double-free crash in MessagePort.cpp
This commit is contained in:
parent
54874de6d4
commit
eba87b03fd
1 changed files with 0 additions and 1 deletions
|
|
@ -375,7 +375,6 @@ MessagePort::Initialize(const nsID& aUUID,
|
|||
|
||||
nsAutoPtr<WorkerHolder> workerHolder(new MessagePortWorkerHolder(this));
|
||||
if (NS_WARN_IF(!workerHolder->HoldWorker(workerPrivate, Closing))) {
|
||||
CloseForced();
|
||||
aRv.Throw(NS_ERROR_FAILURE);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue