fengyuanchen/cropperjs

Memory not released in Safari when editing multiple images

オープン

#963 opened on 2022/07/20

 (0 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (2,432 件のフォーク)batch import
help wantedquestionv1

Repository metrics

Stars
 (13,861 個のスター)
PR merge metrics
 (PR metrics pending)

説明

When multiple images are uploaded, page memory is adding up and never released. Especially when using mobile devices, this results in the WebView to eventually reload (this is especially problematic when Cropper.js is implemented in a page with other information, as that information would then be lost).

To Reproduce: While monitoring memory usage in Safari's Web Inspector 1 - Upload image 2 - Upload another image ..n - Upload another image

Screenshots cropperJS 2 cropperJS

Tested on:

コントリビューターガイド