Skip to content

CBL-8465: Don't store open file stream on Windows for crash log - #309

Merged
borrrden merged 1 commit into
masterfrom
cbl-8465
Jul 14, 2026
Merged

CBL-8465: Don't store open file stream on Windows for crash log#309
borrrden merged 1 commit into
masterfrom
cbl-8465

Conversation

@borrrden

Copy link
Copy Markdown
Member

This causes any attempt to delete the directory to fail because the file is in use. Windows exception handlers are not nearly as demanding on POSIX signal handlers, so the need to pre-open a file stream does not exist anyway. Just open it when the exception happens instead

This causes any attempt to delete the directory to fail because the file is in use.  Windows exception handlers are not nearly as demanding on POSIX signal handlers, so the need to pre-open a file stream does not exist anyway.  Just open it when the exception happens instead
@borrrden
borrrden requested review from jianminzhao and snej July 14, 2026 00:30
@borrrden
borrrden merged commit 2383b99 into master Jul 14, 2026
5 checks passed
@borrrden
borrrden deleted the cbl-8465 branch July 14, 2026 05:03
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