mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Remove EJSON.clone from the onOplogEntry handler (#9886)
This commit is contained in:
@@ -97,8 +97,7 @@ _.extend(OplogHandle.prototype, {
|
||||
|
||||
var originalCallback = callback;
|
||||
callback = Meteor.bindEnvironment(function (notification) {
|
||||
// XXX can we avoid this clone by making oplog.js careful?
|
||||
originalCallback(EJSON.clone(notification));
|
||||
originalCallback(notification);
|
||||
}, function (err) {
|
||||
Meteor._debug("Error in oplog callback", err);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user