Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks after certain time of using continuosly #50

Open
jadolg opened this issue Aug 26, 2020 · 1 comment
Open

Breaks after certain time of using continuosly #50

jadolg opened this issue Aug 26, 2020 · 1 comment

Comments

@jadolg
Copy link

jadolg commented Aug 26, 2020

I created an application that reads the content of the clipboard every second to synchronize several clipboards.
After some time running, the application will become unable to read content from the clipboard and will return this error: fork/exec /usr/bin/pbpaste: too many open files
I have tested it both in macOS and Ubuntu (The message in Ubuntu is the same with different executable and takes longer to appear).

@finviman
Copy link

finviman commented May 6, 2023

hi, in this case , i think if you call clipboard.ReadAll() in a for loop, this problem will happen immediately.

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

No branches or pull requests

2 participants