This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Flatpak SDK] Flatpak environment JSON is prematurely deleted with fl…
…atpak-spawn calls https://bugs.webkit.org/show_bug.cgi?id=221070 Reviewed by Philippe Normand. To avoid nested webkit-flatpak calls overwriting/deleting whe environment file, only create if there is no such file and only delete in the same process that created it. This approach has the drawback of limiting nested calls changing the variable values and a file undeleted after a crash might avoid the next normal invocation creating it. * flatpak/flatpakutils.py: (WebkitFlatpak.run_in_sandbox): Canonical link: https://commits.webkit.org/233443@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@272018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 25 additions and 3 deletions.