Skip to content

Changes back to async flushes after the unload handler has completed #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2020
Merged

Changes back to async flushes after the unload handler has completed #199

merged 1 commit into from
Jan 27, 2020

Conversation

edvinerikson
Copy link
Contributor

Would like to have your opinion on this change. I have not confirmed if this solves my issue. However the test cases indicates that it does solve it.
Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

Potential fix for #198

Describe the solution you've provided
This sets the syncFlush flag back to false after we have flushed any events that needed to be flushed during the beforeunload event.

Copy link
Contributor

@eli-darkly eli-darkly left a comment

Choose a reason for hiding this comment

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

The change definitely seems reasonable. I'm less certain of why it would have resolved your issue, so we still may need to do some more investigation there, but there's no reason not to make this fix.

@eli-darkly eli-darkly merged commit 471bad9 into launchdarkly:master Jan 27, 2020
LaunchDarklyCI pushed a commit that referenced this pull request Jan 27, 2020
fix goals query logic for Electron, also fix handling of invalid content type
@eli-darkly
Copy link
Contributor

We've released version 2.16.2 with this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants