Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

follow ups to fix for #9308 #9407

Merged
merged 1 commit into from
Jun 13, 2017
Merged

follow ups to fix for #9308 #9407

merged 1 commit into from
Jun 13, 2017

Conversation

diracdeltas
Copy link
Member

@diracdeltas diracdeltas commented Jun 12, 2017

fix #9405
fix #9404

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.

Test Plan:

Reviewer Checklist:

Tests

  • Adequate test coverage exists to prevent regressions
  • Tests should be independent and work correctly when run individually or as a suite ref
  • New files have MPL2 license header

@diracdeltas diracdeltas added this to the 0.18.x (Frozen, only critical adds from here) milestone Jun 12, 2017
@diracdeltas diracdeltas self-assigned this Jun 12, 2017
@diracdeltas diracdeltas requested a review from ayumi June 12, 2017 23:54
@@ -296,6 +296,10 @@ module.exports.cleanAppData = (data, isShutdown) => {
if (data.dragData) {
delete data.dragData
}
if (data.sync) {
// clear sync site cache
data.sync.objectsById = {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it probably shouldn't be recreated every time (my bad) but this is okay for now

@diracdeltas diracdeltas merged commit 91465de into master Jun 13, 2017
@diracdeltas diracdeltas deleted the fix/9308-followup branch June 13, 2017 02:19
diracdeltas added a commit that referenced this pull request Jun 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sync objectsById should be cleared when browser quits sync records are sent twice
3 participants