Avoid double borrow in tests by drawing windows explicitly in flush_effects
Co-authored-by: Antonio <antonio@zed.dev>
This commit is contained in:
@@ -168,7 +168,7 @@ impl PlatformWindow for TestWindow {
|
||||
}
|
||||
|
||||
fn invalidate(&self) {
|
||||
(self.draw.lock())().unwrap();
|
||||
// (self.draw.lock())().unwrap();
|
||||
}
|
||||
|
||||
fn sprite_atlas(&self) -> sync::Arc<dyn crate::PlatformAtlas> {
|
||||
|
||||
Reference in New Issue
Block a user