swift
8bd1352e - Resume to the generic executor in the absence of an override.

Commit
4 years ago
Resume to the generic executor in the absence of an override. Without this fix, we saw a crash involving URLSession where we'd hit assertions or corruption in the runtime in various forms: - Assertion on trying to enqueue work onto a zombie actor. - job->SchedulerPrivate being overwritten (crash in getNextJobInQueue). - *(job->SchedulerPrivate) being overwritten (crash in getAsPreprocessedJob right after call to getNextJobInQueue). I haven't been able to create a minimal crashing example yet, but manual testing shows this does fix the issue. Fixes rdar://79859254. (cherry picked from commit d348fd90d4c1b1c889ce7d352d5d8e9c32e5c178)
Committer
Parents
Loading