Skip to content

FBA: Fix race when unloading discoverable projects on close #83056

@RikkiGibson

Description

@RikkiGibson

Random thought: there's a race here. Consider the case where:

  1. We discover the file exists. We start it loading.
  2. While it's still in the primordial state, we open the file.
  3. And then we close it really quickly.

The file is still in misc files in the primordial state, right? And we'll unload?

(I'm not sure if this is a practical case since that's a really tricky set of timing things to do...which probably means it happens next Tuesday and maybe we should think about this a bit. But I'm willing to pass on it for now.)

Originally posted by @jasonmalinowski in #82863 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions