Skip to content

fix race condition on ctx cancel#22

Merged
adrianliechti merged 1 commit into
adrianliechti:mainfrom
jaimegago:fix_race_condition
Jan 13, 2026
Merged

fix race condition on ctx cancel#22
adrianliechti merged 1 commit into
adrianliechti:mainfrom
jaimegago:fix_race_condition

Conversation

@jaimegago

@jaimegago jaimegago commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

fix for race condition encountered in CLI that uses loop where /etc/hosts file entries added by the CLI are not cleaned up when exiting with CTRL+C/SIGINT.
Also added some logging around ignored errors.

@jaimegago jaimegago changed the title fix: fix race condition on ctx cancel fix race condition on ctx cancel Jan 13, 2026
@adrianliechti

Copy link
Copy Markdown
Owner

YAY! THANKS A TON

@adrianliechti adrianliechti merged commit 9fa0cb8 into adrianliechti:main Jan 13, 2026
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