clear data

This commit is contained in:
yangyakun
2023-07-06 12:05:47 +08:00
parent 341026b78d
commit 32ec189dde

View File

@@ -139,6 +139,7 @@ object TrajectoryAndDistanceManager: IMoGoPlanningRottingListener{
fun cleanRoutePoints() {
mRoutePoints = null
mRoutePointsDistance = null
}
/**
@@ -150,6 +151,9 @@ object TrajectoryAndDistanceManager: IMoGoPlanningRottingListener{
removeTempData()
endCalculateDistanceLoop()
cleanRoutePoints()
this.endStationInfo.stationPoint = null
this.startStationInfo.stationPoint = null
this.lineId = null
}else{
if(isSameStation(this.startStationInfo.stationPoint,startStationInfo)&&
isSameStation(this.endStationInfo.stationPoint,endStationInfo)){