File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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. 
4041function  createBlobCollector ( blobId : string ) : BlobCollector  |  null  { 
4142  if  ( global . __blobCollectorProvider  ==  null )  { 
4243    return  null ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments