-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
0902abf
commit aa191a9
Showing
4 changed files
with
22 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "bottom" | ||
version = "0.9.3" | ||
version = "0.9.4" | ||
authors = ["Clement Tsang <[email protected]>"] | ||
edition = "2021" | ||
repository = "https://github.com/ClementTsang/bottom" | ||
|
@@ -133,9 +133,7 @@ filedescriptor = "0.8.2" | |
|
||
[dev-dependencies] | ||
assert_cmd = "2.0.11" | ||
cargo-husky = { version = "1.5.0", default-features = false, features = [ | ||
"user-hooks", | ||
] } | ||
cargo-husky = { version = "1.5.0", default-features = false, features = ["user-hooks"] } | ||
predicates = "3.0.3" | ||
|
||
[build-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters