Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(stream_io): Finalize temporary files before the world ends
Previously, automatically uploaded temporary files for the s3 streams from `open_stream` were not guaranteed to trigger their upload and cleanup before the interpreter began shutting down. This change guarantees that the upload and deletion will happen at the soonest of either: 1. The stream being closed, 2. The stream being garbage collected, or 3. The program ending, but before the interpreter self-destructs.
- Loading branch information
Showing
1 changed file
with
65 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters