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