diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-06-27 01:57:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 01:57:32 -0400 |
commit | aa191a981d19cb47534821ecc7400182ed23874a (patch) | |
tree | 0bacc448845d84995d242c9eb288110053bb1cda /Cargo.lock | |
parent | 0902abf6f93284cf7a82eef80e703f541836e29e (diff) |
bug: fix core dump if the terminal is closed while bottom is open (#1230)
* bug: fix core dump if the terminal is closed
The cause was:
- bottom thinks it's panicking if the terminal is closed.
- The panic hook tried to print out to the terminal - but the terminal
was closed! It would unwrap and thus panic even harder.
- To solve this, we just make the panic hook calls not unwrap, since
honestly if they fail it's whatever as far as I understand it.
* update changelog
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -142,7 +142,7 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bottom" -version = "0.9.3" +version = "0.9.4" dependencies = [ "anyhow", "assert_cmd", |