Closed Julusian closed 6 months ago
Attention: Patch coverage is 80.00000%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 59.08%. Comparing base (
a04c695
) to head (fe433be
). Report is 19 commits behind head on release49.
Files | Patch % | Lines |
---|---|---|
...ons/pieceContentStatusUI/rundownContentObserver.ts | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
About the Contributor
This pull request is posted on behalf of the NRK.
Type of Contribution
This is a: Bug fix
Current Behavior
We have identified that there is a memory leak in Sofie that gets worse each day.
Through some local testing, I identified a scenario where this happens and verified it with some debug logging. To reproduce:
The issue was that whenever we re-created this RundownsObserver, we would not call the
cleanup
function before re-initialising the child observers. This would result in them being leaked, preserving some memory and continuing their watching of the mongo and in-memory collections.Other Information
Status