Use a condvar instead of a channel to implement finish_pending_tasks

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2021-04-02 13:53:06 -06:00
co-authored by Max Brunsfeld
parent 526a55d0d7
commit c43d7cfb39
4 changed files with 231 additions and 39 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ use crate::{
app::{AppContext, MutableAppContext, WindowInvalidation},
elements::Element,
font_cache::FontCache,
platform::{self, Event},
platform::Event,
text_layout::TextLayoutCache,
AssetCache, ElementBox, Scene,
};