Bug related to using `Object.__proto__` within async call?

Version

v22.8.0

Platform

Darwin MacBook-Pro-103.local 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6030 arm64

Subsystem

No response

What steps will reproduce the bug?

Using Object.__proto__ inside async call.

See minimal reproduction repo: https://github.com/tizmagik/async-object-proto-repro

How often does it reproduce? Is there a required condition?

Every time

What is the expected behavior? Why is that the expected behavior?

Should behave similarly to sync call

What do you see instead?

Async thread appears to exit early or crash, although no visible output

Additional information

https://github.com/tizmagik/async-object-proto-repro