I think when block.reset(),ref_count should be 1,but the code is 0.
I think when block.reset(),ref_count should be 1,but the code is 0.