Skip to content

Commit c28df0d

Browse files
Don't isolate deinit of remote actor proxies
1 parent cdba7b3 commit c28df0d

File tree

7 files changed

+271
-205
lines changed

7 files changed

+271
-205
lines changed

lib/SILGen/SILGen.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1630,7 +1630,8 @@ void SILGenModule::emitDeallocatorImpl(SILDeclRef constant, SILFunction *f) {
16301630
auto loc = RegularLocation::getAutoGeneratedLocation(dd);
16311631
preEmitFunction(constant, f, loc);
16321632
PrettyStackTraceSILFunction X("silgen emitDeallocatingDestructor", f);
1633-
SILGenFunction(*this, *f, dd).emitDeallocatingDestructor(dd);
1633+
bool isIsolated = constant.kind == SILDeclRef::Kind::IsolatedDeallocator;
1634+
SILGenFunction(*this, *f, dd).emitDeallocatingDestructor(dd, isIsolated);
16341635

16351636
postEmitFunction(constant, f);
16361637
return;

0 commit comments

Comments
 (0)