Skip to content

fix: close log handlers before unlink on Windows (v2.6.2)#36

Merged
click0 merged 1 commit into
mainfrom
claude/refactor-data-masking-lIcWN
Jun 12, 2026
Merged

fix: close log handlers before unlink on Windows (v2.6.2)#36
click0 merged 1 commit into
mainfrom
claude/refactor-data-masking-lIcWN

Conversation

@click0

@click0 click0 commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Close log file handlers before os.unlink() in tests — fixes PermissionError: [WinError 32] on Windows where file locks are held by open handlers.

https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7


Generated by Claude Code

Windows holds file locks on open log handlers; os.unlink() fails with
PermissionError. Close and remove handlers in finally blocks.

https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7
@click0 click0 merged commit 8fbee8f into main Jun 12, 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