clipboard-sync icon indicating copy to clipboard operation
clipboard-sync copied to clipboard

Stop sending clipboard if no other computer is receiving it

Open felipecrs opened this issue 2 years ago • 0 comments
trafficstars

There is already logic to handle this by creating the is-receiving file. However, this file does not get deleted on shutdown, which causes the writing side to believe there is some computer still receiving.

These files should be deleted automatically on shutdown, but if something happens and they don't get deleted, we should clean them up at some point.

We should ensure Clipboard Sync renews this file from time to time, and on the read side, we should only take into account recent enough ones.

felipecrs avatar Aug 27 '23 15:08 felipecrs