1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Ignore result on deregistering pty

Fixes #1897.
This commit is contained in:
dm1try 2018-12-14 06:54:05 +03:00 committed by Christian Duerr
parent 0a73312c3d
commit 53c7489217
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fix color issue in ncurses programs by updating terminfo pairs from 0x10000 to 0x7FFF
- Fix panic after quitting Alacritty on macOS
## Version 0.2.4

View file

@ -426,7 +426,7 @@ impl<T> EventLoop<T>
// The evented instances are not dropped here so deregister them explicitly
// TODO: Is this still necessary?
let _ = self.poll.deregister(&self.rx);
self.pty.deregister(&self.poll).unwrap();
let _ = self.pty.deregister(&self.poll);
(self, state)
})