Follow-up from #1297 (not a merge blocker). Pre-existing in @dfx.swiss/react; this PR does not introduce it. The new composer preview in #1297 does revoke its own object URLs.
Evidence
The published support context creates blob URLs for downloaded files and for optimistic uploads (URL.createObjectURL) and never calls URL.revokeObjectURL when the issue is replaced, a message is updated, or the provider unmounts.
Long sessions with many attachments therefore keep those blobs until the document is torn down.
Suggested fix
Track created URLs in the SDK and revoke them on issue replace, message replace/remove, and provider unmount. Pin the fixed SDK release here afterwards.
Follow-up from #1297 (not a merge blocker). Pre-existing in
@dfx.swiss/react; this PR does not introduce it. The new composer preview in #1297 does revoke its own object URLs.Evidence
The published support context creates blob URLs for downloaded files and for optimistic uploads (
URL.createObjectURL) and never callsURL.revokeObjectURLwhen the issue is replaced, a message is updated, or the provider unmounts.Long sessions with many attachments therefore keep those blobs until the document is torn down.
Suggested fix
Track created URLs in the SDK and revoke them on issue replace, message replace/remove, and provider unmount. Pin the fixed SDK release here afterwards.