Closed AlagappanRa closed 11 months ago
Comparator should be destroyed right after sortedList is returned by the self-invocation. It is de-referenced at the time of the subsequent method calls.
sortedList
In the code, the comparator is derefenced after the execute method ends. So not an issue
Comparator should be destroyed right after
sortedList
is returned by the self-invocation. It is de-referenced at the time of the subsequent method calls.