shell: Using parking_lot's RwLock for fairness guarantees
This commit is contained in:
parent
8194be30c6
commit
465813c1c5
42 changed files with 247 additions and 396 deletions
|
|
@ -12,7 +12,7 @@ impl A11yHandler for State {
|
|||
}
|
||||
|
||||
fn request_screen_magnifier(&mut self, enabled: bool) {
|
||||
let mut shell = self.common.shell.write().unwrap();
|
||||
let mut shell = self.common.shell.write();
|
||||
|
||||
if shell
|
||||
.zoom_state()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue