Skip to content

Commit 7184afe

Browse files
committed
wip
1 parent 27957cd commit 7184afe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/job-worker/src/playout/model/implementation/SavePlayoutModel.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,7 @@ export async function writeExpectedPackagesForPlayoutSources(
190190
// The expectedPackages of the PieceInstance has not been modified, so there is nothing to do
191191
if (!pieceInstance.updatedExpectedPackages) continue
192192

193-
// nocommit - can this cleanup any references from the pieceInstance to packages which are no longer referenced?
194-
// That would simplify the debounced job a lot, as it allows it to only consider the ids of each pieceInstance, not the packages it references
193+
// Any removed references will be removed by the debounced job
195194

196195
for (const [packageId, expectedPackage] of pieceInstance.updatedExpectedPackages) {
197196
const existingPackage = existingPackagesMap.get(packageId)

0 commit comments

Comments
 (0)