Issue #2676 - Don't keep AbortController alive for AbortSignal

This commit is contained in:
Moonchild 2025-01-16 16:50:23 +01:00 committed by roytam1
commit 949e3f0ac6
3 changed files with 5 additions and 11 deletions

View file

@ -73,7 +73,7 @@ AbortSignal*
AbortController::Signal()
{
if (!mSignal) {
mSignal = new AbortSignal(this, mAborted);
mSignal = new AbortSignal(mGlobal, mAborted);
}
return mSignal;