File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ Bottom level categories:
44
44
45
45
### Bug fixes
46
46
47
+
48
+ #### General
49
+
50
+ - Fix Texture view leaks regression. By @xiaopengli89 in [ #6576 ] ( https://github.com/gfx-rs/wgpu/pull/6576 )
51
+
47
52
#### Metal
48
53
49
54
- Fix surface creation crashing on iOS. By @mockersf in [ #6535 ] ( https://github.com/gfx-rs/wgpu/pull/6535 )
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ impl<T> WeakVec<T> {
47
47
}
48
48
if let Some ( i) = self . empty_slots . pop ( ) {
49
49
self . inner [ i] = Some ( value) ;
50
- self . scan_slots_on_next_push = false ;
50
+ self . scan_slots_on_next_push = self . empty_slots . is_empty ( ) ;
51
51
} else {
52
52
self . inner . push ( Some ( value) ) ;
53
53
self . scan_slots_on_next_push = self . inner . len ( ) == self . inner . capacity ( ) ;
You can’t perform that action at this time.
0 commit comments