winit-sonoma-fix/src
Artúr Kovács ffe2143d14
Fix for closure-captured values not being dropped on panic (#1853)
* Fix for #1850

* Update changelog

* Fix for compilation warnings

* Apply suggestions from code review

Co-authored-by: Markus Røyset <maroider@protonmail.com>

* Improve code quality

* Change Arc<Mutex> to Rc<RefCell>

* Panicking in the user callback is now well defined

* Address feedback

* Fix nightly warning

* The panic info is now not a global.

* Apply suggestions from code review

Co-authored-by: Francesca Lovebloom <francesca@brainiumstudios.com>

* Address feedback

Co-authored-by: Markus Røyset <maroider@protonmail.com>
Co-authored-by: Francesca Lovebloom <francesca@brainiumstudios.com>
2021-03-08 19:56:39 +01:00
..
platform Add ability to assign a menu when creating a window on Windows (#1842) 2021-02-04 22:26:33 +01:00
platform_impl Fix for closure-captured values not being dropped on panic (#1853) 2021-03-08 19:56:39 +01:00
dpi.rs Handle scale factor change on web-sys backend (#1690) 2020-08-30 09:15:44 -04:00
error.rs Always use f as the argument name for &mut std::fmt::Formatter (#1023) 2019-07-09 17:49:07 -04:00
event.rs On Wayland, don't drop extra mouse buttons 2020-12-09 23:11:25 +03:00
event_loop.rs Clarify ControlFlow::Poll doc for web (#1725) 2020-09-24 10:30:26 -04:00
icon.rs Add ability to create Icons from embedded resources on Windows (#1410) 2020-03-07 14:42:21 -05:00
lib.rs Rename desktop eventloop extensions to run_return extension (#1738) 2020-11-12 20:49:44 +01:00
monitor.rs Fix misspellings in comments (#1618) 2020-07-09 08:08:26 -07:00
window.rs Add dragging window with cursor feature (#1840) 2021-03-07 10:43:23 +01:00