Clear unused objects to avoid memory leaks

Recently, it was found that many objects in the previous scheduled tasks were not cleared after not being used, resulting in memory leaks (some of them were cleared, but some were not cleared), so record them

The list is emptied directly

list.clear();

Guess you like

Origin blog.csdn.net/wangwenzhe222/article/details/130203334