fix: dev: Lock and attach when returning zone stats
When returning zone statistics counters the stats sets are now attach while the zone is locked. This addresses CID 468720, 468728 and 468729.
Closes #4934
Edited by Mark Andrews
When returning zone statistics counters the stats sets are now attach while the zone is locked. This addresses CID 468720, 468728 and 468729.
Closes #4934