mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #8368 from overleaf/msm-fix-infinite-loop
[track-changes] Fix pack skipping GitOrigin-RevId: 820f41d920f4ae739ade6697d8f153cfdfd36563
This commit is contained in:
parent
fef395f431
commit
93f1339b87
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ async function rewindDoc(projectId, docId, zipfile) {
|
||||||
|
|
||||||
while (update) {
|
while (update) {
|
||||||
if (packsAreDuplicated(update, previousUpdate)) {
|
if (packsAreDuplicated(update, previousUpdate)) {
|
||||||
|
previousUpdate = update
|
||||||
|
update = await getUpdate()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue