You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had the issue where db connections in localforage were kept open and tabs in the browser would wait for each other.
So we had to call following method in that pecific code: localForage._dbInfo.db.close();
Would it be possible to make an official public method which would also take care of cleaning up the forage?
It should also have to clean up the dbContext.forages array.
The text was updated successfully, but these errors were encountered:
This is a bit scary because it would mean the localForage instance wouldn't be ready anymore. I guess you could close it and then subsequent calls would check for a ready DB and then open it again… I'm not opposed to making it a public method in 2.0 for advanced use-cases! I'll keep that in mind for the work I have in #906. 👍🏻
We had the issue where db connections in localforage were kept open and tabs in the browser would wait for each other.
So we had to call following method in that pecific code:
localForage._dbInfo.db.close();
Would it be possible to make an official public method which would also take care of cleaning up the forage?
It should also have to clean up the dbContext.forages array.
The text was updated successfully, but these errors were encountered: