clear data
This commit is contained in:
@@ -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)){
|
||||
|
||||
Reference in New Issue
Block a user