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

Local forage completely breaks my application #1097

Open
Placentra opened this issue Sep 30, 2023 · 0 comments
Open

Local forage completely breaks my application #1097

Placentra opened this issue Sep 30, 2023 · 0 comments

Comments

@Placentra
Copy link

Placentra commented Sep 30, 2023

Hi, this is a pretty serious issue and since there is no error message, I can only show you the line which breaks. This is happening sporadicaly.

THE FIRST CONSOLE.LOG SHOWS IN CONSOLE, THE SECOND ONE DOESNT:
image

It doesn´t matter if its a Promise.all or individual awaits.
Here is the function, which is called:

image

Again, I repeat, this code works perfectly without any issues, and I assure you, that there is nothing else being called anywhere else. Also the Crypto.JS is not the problem, because before the forage helper function gets called, the Crypto.JS works few lines above it without any issue. This issue freezes my computer and starts all of a sudden even if I change something completely unrelated to localforage. My application stops loading, only a white screen appears, there is some kind of a infinite loop on the background, because the PC gets sluggish . THERE IS NO ERROR MESSAGE IN THE CONSOLE.LOG what so ever no matter what I try. And the only thing that works is restarting my PC. So restarting my PC for some reason wakes up local forage or whatever is happening. Its really, really weird. I repeat, the first console log gets logged, the second 2 lines down doesn´t. when the only thing between these lines is local forage being called.

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

No branches or pull requests

1 participant