aystar.c
changeset 2008 cdb444f6d43c
parent 1891 862800791170
child 2186 db48cf29b983
equal deleted inserted replaced
2007:b0f522d5a80f 2008:cdb444f6d43c
   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