Skip to content

fix(storage): close the local file after a resumable upload - #466

Merged
Tr00d merged 1 commit into
supabase:masterfrom
fresh55:fix/storage-resumable-file-handle
Oct 1, 2026
Merged

Tr00d merged 1 commit into
supabase:masterfrom
fresh55:fix/storage-resumable-file-handle

Conversation

@fresh55

@fresh55 fresh55 commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

UploadOrResume(localPath) never closed the file it opened, so it stayed locked until the GC ran. on Windows, deleting or moving the file right after the upload throws an IOException, which is why the UploadOrResume E2E test failed there.

@Tr00d
Tr00d merged commit 510c23c into supabase:master Oct 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants