mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 13:51:47 +00:00
unnecessary
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user