unnecessary

This commit is contained in:
Alistair Smith
2025-05-29 15:37:40 -07:00
parent cd6fd2cfd0
commit 689376ea80

View File

@@ -262,9 +262,9 @@ ExceptionOr<void> Worker::postMessage(JSC::JSGlobalObject& state, JSC::JSValue m
void Worker::terminate()
{
if (m_terminationFlags.fetch_or(TerminatedFlag) & TerminatedFlag) {
return;
}
// if (m_terminationFlags.fetch_or(TerminatedFlag) & TerminatedFlag) {
// return;
// }
// m_contextProxy.terminateWorkerGlobalScope();
m_terminationFlags.fetch_or(TerminateRequestedFlag);