How to end the path?

What is the best way to end/remove the path one your entity has reached the end?

I would be interested in knowing if there is any best practice for cleaning up after yourself, or if it is just a GC activity and you dont have to do anything (assuming it is not in a pool)


How do you mean “remove the path”?
Maybe this thread will answer your question: