@snowcone-app/ui 0.10.9 → 0.10.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/patterns/RealtimeProvider.tsx +2 -1
package/dist/index.js
CHANGED
|
@@ -5963,6 +5963,7 @@ function RealtimeProvider({
|
|
|
5963
5963
|
console.error(
|
|
5964
5964
|
`[RealtimeProvider] E_BLOB_PICTURE_BOUND: ${owner} has more than ${MAX_FRAMES_PER_PICTURE} frames waiting to be shown; dropping its oldest unshown frame (the picture on screen is kept).`
|
|
5965
5965
|
);
|
|
5966
|
+
ackUrl(victim);
|
|
5966
5967
|
revokeBlobUrl(victim);
|
|
5967
5968
|
}
|
|
5968
5969
|
blobsByOwnerRef.current.set(owner, list);
|
|
@@ -5974,7 +5975,7 @@ function RealtimeProvider({
|
|
|
5974
5975
|
}
|
|
5975
5976
|
registeredBlobUrlsRef.current.add(url);
|
|
5976
5977
|
return url;
|
|
5977
|
-
}, [revokeBlobUrl]);
|
|
5978
|
+
}, [revokeBlobUrl, ackUrl]);
|
|
5978
5979
|
const releaseOlderFrames = useCallback10((owner) => {
|
|
5979
5980
|
const list = blobsByOwnerRef.current.get(owner);
|
|
5980
5981
|
const shown = shownBlobByOwnerRef.current.get(owner);
|