You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the lion-input-file for the image upload part of a rich text editor. The page this editor is on can be open for a long time, say an entire day.
When choosing a file using lion-input-file an object URL is created in the FileHandle. This object URL is never revoked within lion code, which means there is a memory leak happening.
I am not sure if the component itself can know when the URL may be revoked. If the revoking of the URL cannot safely be done in the components that are using the FileHandle class, developers should be informed that they might need to revoke the downloadUrls themselves.
The text was updated successfully, but these errors were encountered:
I am using the lion-input-file for the image upload part of a rich text editor. The page this editor is on can be open for a long time, say an entire day.
When choosing a file using lion-input-file an object URL is created in the FileHandle. This object URL is never revoked within lion code, which means there is a memory leak happening.
I am not sure if the component itself can know when the URL may be revoked. If the revoking of the URL cannot safely be done in the components that are using the FileHandle class, developers should be informed that they might need to revoke the downloadUrls themselves.
The text was updated successfully, but these errors were encountered: