miribsystematics-co-il-esridist

Running AGSRouteTask two times in a row causes an exception : EXC_BAD_ACCESS

Discussion created by miribsystematics-co-il-esridist Employee on May 5, 2011
Latest reply on May 11, 2011 by njarecha-esristaff
Hi,

Using the GARouteTAsk in ver 1.8, If I try to run a Routetask two times in a row, It crashes in line :
self.routeResult = [routeTaskResult.routeResults lastObject];

Is there any way to reset the routeTaskResult?

Hope I finished my questions with RouteTask....

Have a nice weekend,
Thanks a lot,
Miri

Outcomes