de-trace this function, new blob is not a dup
This commit is contained in:
parent
2ece27ee3a
commit
05153e4884
|
@ -355,24 +355,10 @@ fn process_blob(
|
|||
c_or_d: &str,
|
||||
) -> bool {
|
||||
if let Some(old) = mem::replace(window_slot, Some(blob)) {
|
||||
if old.read().unwrap().get_index().unwrap() == pix {
|
||||
trace!(
|
||||
"{:x}: duplicate {} blob at index {:}",
|
||||
debug_id,
|
||||
c_or_d,
|
||||
pix
|
||||
);
|
||||
}
|
||||
trace!(
|
||||
"{:x}: recycling {} blob at index {:}",
|
||||
debug_id,
|
||||
c_or_d,
|
||||
pix
|
||||
);
|
||||
let is_dup = old.read().unwrap().get_index().unwrap() == pix;
|
||||
recycler.recycle(old);
|
||||
true
|
||||
is_dup
|
||||
} else {
|
||||
trace!("{:x}: empty {} window slot {:}", debug_id, c_or_d, pix);
|
||||
false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue