Commit 1b18eef
fix: detach utf8_stdout before closing handler to preserve shared buffer
Move the utf8_stdout detach before log_handler.close() so the wrapper is
disconnected from sys.stdout.buffer before StreamHandler.close() can
cascade a close through it.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f60bd8a commit 1b18eef
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | 236 | | |
240 | 237 | | |
241 | 238 | | |
242 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
0 commit comments