mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Informative text about process::abort.
This commit is contained in:
parent
5a82e8ffdd
commit
3fef2535fc
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ fn install_crash_handler() {
|
|||
.unwrap_or("".to_owned());
|
||||
println!("Stack trace{}\n{:?}", name, Backtrace::new());
|
||||
unsafe {
|
||||
// N.B. Using process::abort() here causes the crash handler to be
|
||||
// triggered recursively.
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue