We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb75424 commit b3ba512Copy full SHA for b3ba512
1 file changed
lib/realtime.js
@@ -478,6 +478,7 @@ function disconnect(socket) {
478
if (note.server.isDirty) {
479
updateNote(note, function (err, _note) {
480
if (err) return logger.error('disconnect note failed: ' + err);
481
+ delete note.server;
482
delete notes[noteId];
483
if (config.debug) {
484
//logger.info(notes);
@@ -487,6 +488,7 @@ function disconnect(socket) {
487
488
}
489
});
490
} else {
491
492
493
494
0 commit comments