mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 00:44:21 +00:00
On X11 the last clipboard handle dropped hands what the app copied to the clipboard manager. When the paste check's thread was still waiting on a clipboard owner that had not answered, quitting dropped the app's own handle first and waited 250 ms at most for the check's handle, so the process could exit before the copy reached the clipboard manager. - VectorcraftApp declares clipboard_probe before services, so the paste check stops and lets go of its handle before the app's handle drops. - Dropping the paste check waits up to 5 s for its thread, longer than arboard's 4 s X11 read wait. - New test quitting_drops_the_probes_clipboard_before_the_apps.