Merge pull request #16717 from Snuffleupagus/saveDocument-resetNewTemporaryRef
Don't reset temporary XRef-entries during saving (PR 16392 follow-up)
This commit is contained in:
commit
7220b93911
@ -661,7 +661,6 @@ class WorkerMessageHandler {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
return incrementalUpdate({
|
return incrementalUpdate({
|
||||||
originalData: stream.bytes,
|
originalData: stream.bytes,
|
||||||
xrefInfo: newXrefInfo,
|
xrefInfo: newXrefInfo,
|
||||||
@ -674,10 +673,9 @@ class WorkerMessageHandler {
|
|||||||
acroFormRef,
|
acroFormRef,
|
||||||
acroForm,
|
acroForm,
|
||||||
xfaData,
|
xfaData,
|
||||||
});
|
}).finally(() => {
|
||||||
} finally {
|
|
||||||
xref.resetNewTemporaryRef();
|
xref.resetNewTemporaryRef();
|
||||||
}
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user