Use atomic_refcell instead of parking_lot for wasm32 targets (#1404)

Closes https://github.com/emilk/egui/issues/1401
This commit is contained in:
Emil Ernerfeldt
2022-03-22 15:34:21 +01:00
committed by GitHub
parent e5aeb1618f
commit 41b178b6ec
9 changed files with 99 additions and 10 deletions
-1
View File
@@ -71,6 +71,5 @@ image = { version = "0.24", default-features = false, features = [
"jpeg",
"png",
] }
parking_lot = "0.12"
poll-promise = "0.1"
rfd = "0.8"
+1 -1
View File
@@ -11,7 +11,7 @@
use eframe::egui;
use parking_lot::Mutex;
use egui::mutex::Mutex;
use std::sync::Arc;
fn main() {