Skip to content
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

fix(@aws-amplify/pubsub): Fix undefined observer #6436

Merged
merged 4 commits into from
Aug 10, 2020

Conversation

nubpro
Copy link
Contributor

@nubpro nubpro commented Jul 28, 2020

Issue #, if available:
none

Description of changes:
This would result to a fatal exception that leads to a crash because observer is undefined as it is already closed and cleaned.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@nubpro nubpro requested a review from manueliglesias as a code owner July 28, 2020 10:39
@codecov
Copy link

codecov bot commented Jul 28, 2020

Codecov Report

Merging #6436 into main will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #6436   +/-   ##
=======================================
  Coverage   73.26%   73.26%           
=======================================
  Files         208      208           
  Lines       12920    12920           
  Branches     2431     2431           
=======================================
  Hits         9466     9466           
  Misses       3291     3291           
  Partials      163      163           
Impacted Files Coverage Δ
...pubsub/src/Providers/AWSAppSyncRealTimeProvider.ts 18.54% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0cb1d90...9b6b8b4. Read the comment docs.

Copy link
Contributor

@ashika01 ashika01 left a comment

Choose a reason for hiding this comment

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

LGTM

@nubpro
Copy link
Contributor Author

nubpro commented Aug 10, 2020

@ashika01 Thanks for the approval!
I wouldn't want bug to anybody, but would this get merged?

Copy link
Member

@iartemiev iartemiev left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you, @nubpro!

@github-actions
Copy link

This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
@nubpro nubpro deleted the pubsub/bug/fix-undefined-observer branch August 10, 2021 17:19
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