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,
|
c_or_d: &str,
|
||||||
) -> bool {
|
) -> bool {
|
||||||
if let Some(old) = mem::replace(window_slot, Some(blob)) {
|
if let Some(old) = mem::replace(window_slot, Some(blob)) {
|
||||||
if old.read().unwrap().get_index().unwrap() == pix {
|
let is_dup = 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
|
|
||||||
);
|
|
||||||
recycler.recycle(old);
|
recycler.recycle(old);
|
||||||
true
|
is_dup
|
||||||
} else {
|
} else {
|
||||||
trace!("{:x}: empty {} window slot {:}", debug_id, c_or_d, pix);
|
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue