mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 15:20:05 -04:00
Remove the deadlock_detection feature (#7497)
* related #7494 Removes the `deadlock_detection` feature, since we now have a more primitive panic-after-30s deadlock detection which works well enough and even detects kinds of deadlocks that the `deadlock_detection` feature never supported.
This commit is contained in:
@@ -40,11 +40,6 @@ cint = ["ecolor/cint"]
|
||||
## Enable the [`hex_color`] macro.
|
||||
color-hex = ["ecolor/color-hex"]
|
||||
|
||||
## This will automatically detect deadlocks due to double-locking on the same thread.
|
||||
## If your app freezes, you may want to enable this!
|
||||
## Only affects [`mutex::RwLock`] (which epaint and egui uses a lot).
|
||||
deadlock_detection = ["dep:backtrace"]
|
||||
|
||||
## If set, epaint will use `include_bytes!` to bundle some fonts.
|
||||
## If you plan on specifying your own fonts you may disable this feature.
|
||||
default_fonts = ["epaint_default_fonts"]
|
||||
@@ -94,11 +89,6 @@ serde = { workspace = true, optional = true, features = ["derive", "rc"] }
|
||||
|
||||
epaint_default_fonts = { workspace = true, optional = true }
|
||||
|
||||
# native:
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
backtrace = { workspace = true, optional = true }
|
||||
|
||||
|
||||
[dev-dependencies]
|
||||
criterion.workspace = true
|
||||
mimalloc.workspace = true
|
||||
|
||||
Reference in New Issue
Block a user