mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Without this, the borrow of the hop_to_executor lasts after the apply. Beyond being unnecessary this results in an OSSA violation if we are passing an actor as an isolated parameter to an initializer since we hop_to_executor the actor and then pass it as a +1 parameter to the initializer causing the actor to be consumed before its borrow ends. rdar://144994837
294 KiB
294 KiB