Skip to content

klipper: fix crash by inserting clip before creating updateJob

Fushan Wen requested to merge work/fuf/stressfail into master

Reason for the change

When Klipper receives many images and the system is under stress, an update job might already emit the finished signal before the item is inserted, which will crash. This inserts the item first to fix the crash.

Test plan

Pass clipboardtest

Screenshots or screen recordings

Bugs fixed

Merge request reports

Loading