Commit db50447
fix: use SelectorEventLoop on Windows to avoid cleanup errors
The Windows ProactorEventLoop can raise "IndexError: pop from an empty
deque" during event loop cleanup when there are pending handles. This
was causing the test_bm_tool_help_exits_cleanly test to fail on Windows.
Switch to WindowsSelectorEventLoopPolicy on Windows since we don't need
ProactorEventLoop's features (subprocess pipes, named pipes) for CLI
initialization.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: phernandez <paul@basicmachines.co>1 parent c3b5981 commit db50447
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
196 | 204 | | |
197 | 205 | | |
0 commit comments