mkio 1.1.1
mkio 1.1.1 makes Ctrl+C stop the server at once on Windows. A patch release: no change to the config format, wire protocol, CLI, clients, expression language or on-disk layout.
Fixed
- On Windows, 1.1.0's selector loop took seconds to stop on Ctrl+C, and would have taken minutes with no client connected. A signal there only sets a flag, and
select()is not interrupted by one, so the runner's SIGINT handler ran only once the next timer or packet ended the wait.mkio.app.WindowsSelectorEventLoopis the selector loop plus the wiring the Proactor loop has: its self-pipe is registered as the signal wakeup descriptor at construction and unregistered on close, so the C-level handler's byte ends the wait itself.loop_factoryhands it out wherever it chose the selector loop on Windows.
Install: pip install mkio==1.1.1 — https://pypi.org/project/mkio/1.1.1/