mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +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());
|
.unwrap_or("".to_owned());
|
||||||
println!("Stack trace{}\n{:?}", name, Backtrace::new());
|
println!("Stack trace{}\n{:?}", name, Backtrace::new());
|
||||||
unsafe {
|
unsafe {
|
||||||
|
// N.B. Using process::abort() here causes the crash handler to be
|
||||||
|
// triggered recursively.
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue