Skip to content

Commit

Permalink
Fix destroying DerProgramListHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
longzheng committed Jan 28, 2025
1 parent 51e41a2 commit 1a26b0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sep2/helpers/functionSetAssignmentsList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ export class FunctionSetAssignmentsListHelper extends EventEmitter<{

public destroy() {
this.functionSetAssignmentsListPollableResource?.destroy();

for (const functionSetAssignments of this.dataByFunctionSetAssignmentsMrid.values()) {
functionSetAssignments.derProgramListHelper.destroy();
}
}

private cacheAndEmitData() {
Expand Down

0 comments on commit 1a26b0a

Please sign in to comment.