clean addList when meet a corner case
This commit is contained in:
@@ -296,6 +296,9 @@ export default class MutationBuffer {
|
||||
* it may be a bug or corner case. We need to escape the
|
||||
* dead while loop at once.
|
||||
*/
|
||||
while (addList.head) {
|
||||
addList.removeNode(addList.head.value);
|
||||
}
|
||||
break;
|
||||
}
|
||||
candidate = node.previous;
|
||||
|
||||
Reference in New Issue
Block a user