diff options
author | 2020-11-05 04:11:49 +0100 | |
---|---|---|
committer | 2020-11-05 04:13:09 +0100 | |
commit | d5a15419e98cf31c173fff5a10f97e36958d994f (patch) | |
tree | b00e350384e871e3102e9a14080937daee103315 /glutin | |
parent | 6619fab0441ac0770bd95f5c69e80289bc323d0d (diff) | |
download | iced-d5a15419e98cf31c173fff5a10f97e36958d994f.tar.gz iced-d5a15419e98cf31c173fff5a10f97e36958d994f.tar.bz2 iced-d5a15419e98cf31c173fff5a10f97e36958d994f.zip |
Drop `UserInterface` manually after exit request
Diffstat (limited to 'glutin')
-rw-r--r-- | glutin/src/application.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glutin/src/application.rs b/glutin/src/application.rs index b8e80ddf..0f748ecb 100644 --- a/glutin/src/application.rs +++ b/glutin/src/application.rs @@ -300,6 +300,9 @@ async fn run_instance<A, E, C>( _ => {} } } + + // Manually drop the user interface + drop(ManuallyDrop::into_inner(user_interface)); } fn build_user_interface<'a, A: Application>( |