mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 21:00:03 -04:00
Add single-threaded deadlock detection to RwMutex (#1619)
This commit is contained in:
@@ -28,6 +28,11 @@ cint = ["epaint/cint"]
|
||||
# implement bytemuck on most types.
|
||||
bytemuck = ["epaint/bytemuck"]
|
||||
|
||||
# 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 `epaint::mutex::RwLock` (which egui uses a lot).
|
||||
deadlock_detection = ["epaint/deadlock_detection"]
|
||||
|
||||
# If set, egui 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"]
|
||||
|
||||
Reference in New Issue
Block a user