Calling __secretlyKnownToBeLocal somehow doesn't guarantee isolation and crashes sometimes (e.g. #1140). Not sure what exact issue though, but anyway it's better to call whenLocal.
Modifications:
Moved from calling __secretlyKnownToBeLocal to whenLocal where possible.
Motivation:
Calling
__secretlyKnownToBeLocal
somehow doesn't guarantee isolation and crashes sometimes (e.g. #1140). Not sure what exact issue though, but anyway it's better to callwhenLocal
.Modifications:
Moved from calling
__secretlyKnownToBeLocal
towhenLocal
where possible.Result: