The old implementation of inspecting the InProgressPrepareForEditorTask has a few race conditions including the fact that we would start the preparation task before the inProgressPrepareForEditorTask was set.
Instead, keep track of the purpose for each preparation task. This ends up simplifying the code as well.
The old implementation of inspecting the
InProgressPrepareForEditorTask
has a few race conditions including the fact that we would start the preparation task before theinProgressPrepareForEditorTask
was set.Instead, keep track of the purpose for each preparation task. This ends up simplifying the code as well.