1.解决子线程arraybuffer tansformer之后主线程,存入磁盘失败问题

Signed-off-by: zhoulisheng1 <zhoulisheng1@huawei.com>
This commit is contained in:
zhoulisheng1 2022-12-07 02:41:42 -08:00
parent ab8f0111f4
commit 17516eb53e
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ export class GIFParseImpl implements IParseGif {
if (!!resolveWorker && !runMainThread) {
LogUtil.log('parseGifs in worker thread!')
let copyBuffer = imageinfo.slice(0);
this.useWorkerParse(resolveWorker, imageinfo, (data, err) => {
if (err) {
callback(undefined, err)