On Windows, catch window callback panics and forward them to the calling thread (#703)

* Catch windows callback panics

* Unwind through calling thread

* Add CHANGELOG entry

* Fix 1.24.1 builds

* Reformat CHANGELOG entry

* Make changes from review

* Wrap thread event target in panic catcher, reformat panic resume message

* Fix me being bad at git
This commit is contained in:
Osspial 2018-11-17 14:20:04 -05:00 committed by Francesca Plebani
parent df5d66b5e8
commit 3ba808e3c6
4 changed files with 104 additions and 24 deletions

View file

@ -98,6 +98,8 @@ extern crate serde;
#[cfg(target_os = "windows")]
extern crate winapi;
#[cfg(target_os = "windows")]
extern crate backtrace;
#[cfg(any(target_os = "macos", target_os = "ios"))]
#[macro_use]
extern crate objc;