Skip to content

Commit 84e6cae

Browse files
author
Ben Grant
committed
Delete some exception checks
1 parent 05ab606 commit 84e6cae

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/bun.js/bindings/webcore/Worker.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -548,14 +548,9 @@ JSValue createNodeWorkerThreadsBinding(Zig::GlobalObject* globalObject)
548548
JSObject* array = constructEmptyArray(globalObject, nullptr, 4);
549549
RETURN_IF_EXCEPTION(scope, {});
550550
array->putDirectIndex(globalObject, 0, workerData);
551-
RETURN_IF_EXCEPTION(scope, {});
552551
array->putDirectIndex(globalObject, 1, threadId);
553-
RETURN_IF_EXCEPTION(scope, {});
554552
array->putDirectIndex(globalObject, 2, JSFunction::create(vm, globalObject, 1, "receiveMessageOnPort"_s, jsReceiveMessageOnPort, ImplementationVisibility::Public, NoIntrinsic));
555-
RETURN_IF_EXCEPTION(scope, {});
556553
array->putDirectIndex(globalObject, 3, environmentData);
557-
RETURN_IF_EXCEPTION(scope, {});
558-
559554
return array;
560555
}
561556

0 commit comments

Comments
 (0)