equal
deleted
inserted
replaced
230 else if (r == AYSTAR_EMPTY_OPENLIST) |
230 else if (r == AYSTAR_EMPTY_OPENLIST) |
231 printf("[AyStar] OpenList run dry, no path found\n"); |
231 printf("[AyStar] OpenList run dry, no path found\n"); |
232 else if (r == AYSTAR_LIMIT_REACHED) |
232 else if (r == AYSTAR_LIMIT_REACHED) |
233 printf("[AyStar] Exceeded search_nodes, no path found\n"); |
233 printf("[AyStar] Exceeded search_nodes, no path found\n"); |
234 #endif |
234 #endif |
235 |
|
236 if (aystar->BeforeExit != NULL) |
|
237 aystar->BeforeExit(aystar); |
|
238 |
|
239 if (r != AYSTAR_STILL_BUSY) |
235 if (r != AYSTAR_STILL_BUSY) |
240 /* We're done, clean up */ |
236 /* We're done, clean up */ |
241 aystar->clear(aystar); |
237 aystar->clear(aystar); |
242 |
238 |
243 // Check result-value |
239 // Check result-value |