fiddle icon indicating copy to clipboard operation
fiddle copied to clipboard

Collision While Setting Versions

Open dsanders11 opened this issue 2 years ago • 0 comments

Under certain circumstances, such as opening an example from the docs, multiple versions end up being set in parallel - the original version on startup, immediately followed by the version specified for the example being loaded. Once they're running in parallel, they can collide on setting the active version on disk with fiddle-core.

This situation could be improved by:

  • [x] Not unzipping a version until it is run (#1367)
  • [ ] Keeping track of any in-progress versions being set and the ability to abort them - ideally also aborting the download, but that is not supported by @electron/get at this time. Aborting an in-progress version being set should at least not conflict with any subsequent versions set.
Screenshot 2023-06-01 at 10 32 41 PM

dsanders11 avatar Jun 02 '23 05:06 dsanders11