-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #581 batch run crash #590
Conversation
@@ -24,7 +24,7 @@ DataSet <- R6::R6Class( | |||
private$.dataRepository$name <- value | |||
}, | |||
|
|||
#' @field name The underlying DataRepository object | |||
#' @field dataRepository The underlying DataRepository object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PavelBal Copy paste issue here
@@ -70,6 +70,8 @@ SimulationBatch <- R6::R6Class( | |||
#' Clears the reference to the wrapped .NET object | |||
finalize = function() { | |||
private$.simulation <- NULL | |||
# SimulationBatch are disposable object and should be disposed | |||
rClr::clrCall(self$ref, "Dispose") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calling dispose on finalize
@@ -311,7 +311,7 @@ runSimulationBatches <- function(simulationBatches, simulationRunOptions = NULL, | |||
# All results of this batch have the id of the same simulation | |||
resultsIdSimulationIdMap[valuesIds] <- simBatchId | |||
# Add the batch to concurrent runner | |||
rClr::clrCall(simulationRunner, "AddSimulationBatchOption", simBatch$ref) | |||
rClr::clrCall(simulationRunner, "AddSimulationBatch", simBatch$ref) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating the nomenclature
Codecov Report
@@ Coverage Diff @@
## develop #590 +/- ##
========================================
Coverage 89.78% 89.79%
========================================
Files 74 74
Lines 1674 1675 +1
========================================
+ Hits 1503 1504 +1
Misses 171 171
Continue to review full report at Codecov.
|
No description provided.