Skip to content

Commit

Permalink
fix change records not being reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Benvie committed Dec 14, 2012
1 parent 5cfc566 commit 404165e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/object-model/operations.js
Expand Up @@ -430,6 +430,7 @@ var operations = (function(exports){
function $$DeliverChangeRecords(callback){
var changeRecords = callback.PendingChangeRecords;
if (changeRecords && changeRecords.length) {
callback.PendingChangeRecords = [];
var result = callback.Call(undefined, [new $Array(changeRecords)]);
if (result && result.Abrupt) return result;
return true;
Expand Down

0 comments on commit 404165e

Please sign in to comment.