Skip to content
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 #719 call dispose #720

Merged
merged 1 commit into from
Jan 24, 2022
Merged

Fixes #719 call dispose #720

merged 1 commit into from
Jan 24, 2022

Conversation

msevestre
Copy link
Member

No description provided.

@msevestre msevestre requested review from PavelBal and Yuri05 January 24, 2022 16:05
},
finally = {
# Dispose of the runner to release any possible instances still in memory (.NET side)
rClr::clrCall(simulationRunner, "Dispose")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was missing. We have it for the batch but not for this one. It does not explain the lack of // ism

@msevestre msevestre merged commit fcf8a49 into develop Jan 24, 2022
@msevestre msevestre deleted the 719-call-dispose branch January 24, 2022 16:10
@msevestre
Copy link
Member Author

@Yuri05 Can you try with this fix and see if this solves the memory issue?

@Yuri05
Copy link
Member

Yuri05 commented Jan 24, 2022

@msevestre It does! Well done.
s. the last comments in Open-Systems-Pharmacology/OSPSuite.Core#1455

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants