Skip to content

Commit 92a9f02

Browse files
Update BlobManager.js
1 parent cc62559 commit 92a9f02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Libraries/Blob/BlobManager.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ function uuidv4(): string {
3131
});
3232
}
3333

34+
// **Temporary workaround**
35+
// TODO(#24654): Use turbomodules for the Blob module.
3436
// Blob collector is a jsi::HostObject that is used by native to know
3537
// when the a Blob instance is deallocated. This allows to free the
3638
// underlying native resources. This is a hack to workaround the fact
3739
// that the current bridge infra doesn't allow to track js objects
38-
// deallocation. Ideally this would use TurboModules and the whole Blob
39-
// object should be a jsi::HostObject.
40+
// deallocation. Ideally the whole Blob object should be a jsi::HostObject.
4041
function createBlobCollector(blobId: string): BlobCollector | null {
4142
if (global.__blobCollectorProvider == null) {
4243
return null;

0 commit comments

Comments
 (0)