Avoid panic on dispatch failure (#23)

Prevent crash when calling unwrap on either sync_roundtrip
or dispatch_pending, and handle such case by replying downstream
that clipboard is dead.
This commit is contained in:
Kirill Chibisov 2020-08-27 14:08:26 +03:00 committed by GitHub
parent 2aea170962
commit 8a81be7c0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 10 deletions

View file

@ -4,6 +4,7 @@
- Fixed clipboard crashing, when seat has neither keyboard nor pointer focus
- Advertise UTF8_STRING mimetype
- Fixed crash when writing data to the server fails
- Fixed fd leaking from keymap updates
## 0.5.1 -- 2020-07-10