difftreelog
fix(evaluator) checked LocalKey load
in: master
1 file changed
crates/jrsonnet-interner/src/lib.rsdiffbeforeafterboth42 fn drop(&mut self) {42 fn drop(&mut self) {43 // First reference - current object, second - POOL43 // First reference - current object, second - POOL44 if Rc::strong_count(&self.0) <= 2 {44 if Rc::strong_count(&self.0) <= 2 {45 STR_POOL.with(|pool| pool.borrow_mut().remove(&self.0));45 let _result = STR_POOL.try_with(|pool| pool.borrow_mut().remove(&self.0));46 }46 }47 }47 }48}48}