Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Conversation

@shercoder
Copy link
Contributor

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

#38

Describe the solution you've provided

For a solution, I have added a check if self.bridge is not nil before attempting to send an event. The nice thing is the callback that attempts to send the event gets called once the bridge is set and it successfully registers the listener.

Describe alternatives you've considered

N/A

Additional context

N/A

@torchhound
Copy link
Contributor

Thank you for contributing to this repo, we will test this and get back to you.

@torchhound
Copy link
Contributor

This PR passed our internal testing, thanks again for finding and fixing this bug!

@torchhound torchhound merged commit 2e7e5f0 into launchdarkly:master Feb 8, 2020
@shercoder shercoder deleted the fix/check-for-eventemitter-bridge branch February 11, 2020 22:25
@shercoder
Copy link
Contributor Author

Any ETA on the new release with this fix?

@bwoskow-ld
Copy link
Member

We're targeting a release this week for the next SDK version.

@bwoskow-ld
Copy link
Member

This is now available in 3.0.0.

LaunchDarklyCI pushed a commit that referenced this pull request Feb 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants