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

Fixed leaking timeout (fixes #920). #922

Merged
merged 2 commits into from
Apr 8, 2021
Merged

Conversation

radekmie
Copy link
Contributor

@radekmie radekmie commented Apr 6, 2021

As reported in #920, the autosave timeout was not cleared on unmount. This PR fixes that as well as corrects the tests.

@radekmie radekmie added the Type: Bug Bug reports and their fixes label Apr 6, 2021
@radekmie radekmie added this to the v3.3 milestone Apr 6, 2021
@codecov
Copy link

codecov bot commented Apr 6, 2021

Codecov Report

Merging #922 (5e0079c) into master (657ad91) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

❗ Current head 5e0079c differs from pull request most recent head 61ff883. Consider uploading reports for the commit 61ff883 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master     #922      +/-   ##
==========================================
- Coverage   97.48%   97.43%   -0.06%     
==========================================
  Files         202      202              
  Lines        3890     3892       +2     
  Branches      779      780       +1     
==========================================
  Hits         3792     3792              
- Misses         10       11       +1     
- Partials       88       89       +1     
Impacted Files Coverage Δ
packages/uniforms/src/BaseForm.tsx 94.25% <0.00%> (-2.22%) ⬇️

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 657ad91...61ff883. Read the comment docs.

wadamek65
wadamek65 previously approved these changes Apr 6, 2021
@radekmie radekmie merged commit 386040c into master Apr 8, 2021
@radekmie radekmie deleted the fixed-leaking-timeout branch April 8, 2021 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug reports and their fixes
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Getting errors on autosave: Can't perform a React state update on an unmounted component....
4 participants