Skip to content

Fix/net selector task already done - #3078

Merged
dpkp merged 2 commits into
dpkp:masterfrom
azdobylak:fix/net-selector-task-already-done
Jun 20, 2026
Merged

Fix/net selector task already done#3078
dpkp merged 2 commits into
dpkp:masterfrom
azdobylak:fix/net-selector-task-already-done

Conversation

@azdobylak

Copy link
Copy Markdown
Contributor

I missed one corner case in my last PR (#3077). If the task was already in the ready queue (no longer scheduled), we must not clean it up. It shouldn't have caused any major issues thanks to the safeguards, but it still produced a misleading error message. Sorry about that! I generated a test case to cover this path and implemented the fix.

@dpkp

dpkp commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Thanks for digging in on this one; I think I'll probably rename net.unschedule(task) -> net.cancel(task) and make a few additional changes before releasing 3.0.3.

@dpkp
dpkp merged commit b3a7eaf into dpkp:master Jun 20, 2026
19 checks 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