Bug Fixed with finalizing container

This commit is contained in:
Luis Fernando Molina committed 2019-09-08 00:28:22 +02:00
1 parent fb31f1f255
commit 905d9f6379
2 files changed
+5 -3

No files matched your search

-1
View File
@@ -26,7 +26,6 @@ function newCircularRunningStatus () {
return thisObject
function finalize () {
thisObject.container.finalize()
thisObject.container = undefined
thisObject.payload = undefined
+5 -2
View File
@@ -543,8 +543,11 @@ function newStrategyPart () {
}
function stop () {
thisObject.runningStatus.finalize()
thisObject.runningStatus = undefined
setTimeout(removeRunningStatus, 30000)
function removeRunningStatus () {
thisObject.runningStatus.finalize()
thisObject.runningStatus = undefined
}
}
function run () {