ilya.gorbunov
01/13/2018, 4:29 AMpath
list every time to the results
list. Then you're mutating it, eventually clearing it.melanchroes
01/13/2018, 4:38 AMpath
(like I do at path.add(step)
), a copy of that parameter is created that only exists with the scope of the function call?melanchroes
01/13/2018, 4:48 AMmelanchroes
01/13/2018, 4:49 AMresults
point to a single reference of path
thats eventually cleared like you said. Thanks!edik
01/14/2018, 1:35 AMedik
01/14/2018, 1:37 AM