http: refactor agent.destroy()
This change refactor the previous triple-nested loop and make it more readable by using iterators.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
This change refactor the previous triple-nested loop and make it more readable by using iterators.
make -j4 test
(UNIX), or vcbuild test
(Windows) passes