Skip to content

Commit

Permalink
fix forward twilight ubn
Browse files Browse the repository at this point in the history
Reviewed By: tyao1

Differential Revision: D67540012

fbshipit-source-id: d6c7a7297aff9a47519f05749006c6e3c3ce4d0b
  • Loading branch information
lynnshaoyu authored and facebook-github-bot committed Dec 20, 2024
1 parent 29fb05b commit d4874e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/relay-runtime/store/RelayModernStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@ class RelayModernStore implements Store {
// buffer have a refCount of 0.
if (this._releaseBuffer.length > this._gcReleaseBufferSize) {
const _id = this._releaseBuffer.shift();
// $FlowFixMe[incompatible-call]
if (!this._shouldRetainWithinTTL_EXPERIMENTAL) {
this._roots.delete(id);
// $FlowFixMe[incompatible-call]
this._roots.delete(_id);
}
this.scheduleGC();
}
Expand Down

0 comments on commit d4874e0

Please sign in to comment.