-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Memory Leak : HybridProvider #5547
Comments
@MarkLester10 Thanks for reporting. |
Pretty sure I'm seeing the same issue but with a slightly different message:
Fills up the Jest output quite a bit. |
@surajahmed Is there any updates about this issue? I am having same issue in Jest. |
I'm having the same issue like @kevindice when running my tests after updating to Expo SDK 46, also using latest Native Base. Is this already fixed? Did someone found anything? |
My team has been using a yarn patch on it so far: (apologies for the screenshot, am on mobile) edit: Filename:
|
@kevindice Ohhhh yeah indeed, just did a quick change on the file and it indeed doesn't show anymore. Thanks for the quick response. I saw that you reviewed this PR that introduce that code #5359 If the fix is to use the optional chaining, why it hasn't been done? Is there a more deeper issue with this? Or is it that it just haven't been done? |
Honestly not sure |
Is there an update for this one? Can I open a PR that adds optional chaining? |
Not at all, I created my tests around not triggering this, but it's still there.
…________________________________
From: Michael Krasnov ***@***.***>
Sent: Wednesday, April 26, 2023 1:28:24 PM
To: GeekyAnts/NativeBase ***@***.***>
Cc: Bojack Horseman ***@***.***>; Comment ***@***.***>
Subject: Re: [GeekyAnts/NativeBase] Memory Leak : HybridProvider (Issue #5547)
Is there an update for this one? Can I open a PR that adds optional chaining?
—
Reply to this email directly, view it on GitHub<#5547 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIK65C37WG5ZB6CBXI4RMWDXDFZNRANCNFSM6AAAAAAR5LQCMM>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Description
When you close the app there is a memory leak in useEffect HybridProvider:
CodeSandbox/Snack link
Private Repo
Steps to reproduce
NativeBase Version
3.4.5
Platform
Other Platform
No response
Additional Information
Project is using RN 0.68.2
The text was updated successfully, but these errors were encountered: