finalizing

This commit is contained in:
Luis Fernando Molina committed 2020-01-30 16:22:01 +01:00
1 parent 79291b179c
commit 37debc55cf
3 files changed
+12 -7

No files matched your search

+3 -4
View File
@@ -92,15 +92,14 @@ function newTimeMachine () {
}
thisObject.timelineCharts = undefined
timelineChartsMap = undefined
thisObject.fitFunction = undefined
thisObject.container.finalize()
thisObject.container = undefined
thisObject.payload = undefined
mouse = undefined
timelineChartsMap = undefined
timeMachineCoordinateSystem = undefined
}
function finalizeTimeScale () {
+6 -3
View File
@@ -32,7 +32,6 @@ function newTimelineChart () {
let timelineChartCoordinateSystem = newCoordinateSystem()
let layersPanel
let layersPanelHandle
let onViewportPositionChangedEventSuscriptionId
@@ -81,13 +80,17 @@ function newTimelineChart () {
canvas.chartSpace.viewport.eventHandler.stopListening(onViewportZoomChangedEventSuscriptionId)
thisObject.container.eventHandler.stopListening(onMouseOverEventSuscriptionId)
thisObject.container.eventHandler.stopListening(onMouseNotOverEventSuscriptionId)
thisObject.container.finalize()
thisObject.container = undefined
thisObject.payload = undefined
mouse = undefined
logger = undefined
timeMachineCoordinateSystem = undefined
timelineChartCoordinateSystem = undefined
layersPanel = undefined
layersPanelHandle = undefined
}
function finalizeLayersManager () {
+3
View File
@@ -67,6 +67,9 @@ function newTimeFrameScale () {
thisObject.container = undefined
thisObject.fitFunction = undefined
thisObject.payload = undefined
limitingContainer = undefined
mouse = undefined
}
function initialize (pLimitingContainer) {