fix(interestmap): remove interest from InterestMap immediately after fulfillment

This commit is contained in:
2026-03-01 12:18:16 +00:00
parent 685f4ebb3b
commit bf3b4e832a
3 changed files with 8 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ export class Interest<DTInterestId, DTInterestFullfillment> {
this.isFullfilled = true;
this.fullfillmentStore = [];
this.interestDeferred.resolve(objectArg);
this.destroy(); // Remove from InterestMap immediately after fulfillment
}
/**