Skip to content

Commit 9df394d

Browse files
committed
show a debug message if we delete a non-existed image key
1 parent d5a1fc6 commit 9df394d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

webrender/src/resource_cache.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,11 @@ impl ResourceCache {
307307
},
308308
_ => {},
309309
}
310+
311+
return;
310312
}
313+
314+
println!("Delete the non-exist key:{:?}", image_key);
311315
}
312316

313317
pub fn add_webgl_texture(&mut self, id: WebGLContextId, texture_id: SourceTexture, size: DeviceIntSize) {

0 commit comments

Comments
 (0)