clipboard icon indicating copy to clipboard operation
clipboard copied to clipboard

Breaks after certain time of using continuosly

Open jadolg opened this issue 4 years ago • 1 comments

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).

jadolg avatar Aug 26 '20 12:08 jadolg

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

finviman avatar May 06 '23 08:05 finviman