Skip to content

fix(clipcatctl): fix output ordering of list cmd#1054

Open
james64 wants to merge 1 commit into
xrelkd:developfrom
james64:clipcatctl-list-fix-ordering
Open

fix(clipcatctl): fix output ordering of list cmd#1054
james64 wants to merge 1 commit into
xrelkd:developfrom
james64:clipcatctl-list-fix-ordering

Conversation

@james64

@james64 james64 commented May 17, 2026

Copy link
Copy Markdown

Hi,

this is a fix for #1053 . Output is not stable becuase fresh instance of tokio::io::stdout is created inside for loop for ever entry. Each stdout has its dedicated worker creating a race condition. Creating single instance outside the loop solves the problem. See commentary in tokio doc. I have tested it locally and the problem is gone.

Let me know if I need to update anything 👍

@james64 james64 force-pushed the clipcatctl-list-fix-ordering branch from 9c581ae to e6cf00b Compare May 17, 2026 15:00
@james64 james64 force-pushed the clipcatctl-list-fix-ordering branch from e6cf00b to 51e2183 Compare May 17, 2026 15:07
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.

1 participant