chore: update gpui
This commit is contained in:
@@ -43,7 +43,7 @@ pub fn load_embedded_fonts(cx: &App) {
|
||||
let embedded_fonts = Mutex::new(Vec::new());
|
||||
let executor = cx.background_executor();
|
||||
|
||||
executor.block(executor.scoped(|scope| {
|
||||
cx.foreground_executor().block_on(executor.scoped(|scope| {
|
||||
for font_path in &font_paths {
|
||||
if !font_path.ends_with(".ttf") {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user