Open averycowan opened 8 years ago
Possibly a thread safe static boolean in the main pathfinding class that indicates to the pathfinding thread to stop safely.
How should this be set back to false? When the path is ended in the path thread or when a new path thread is created?
Note: MineBot.plsCancel is related to this I think
Possibly a thread safe static boolean in the main pathfinding class that indicates to the pathfinding thread to stop safely.
How should this be set back to false? When the path is ended in the path thread or when a new path thread is created?