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
Is your feature request related to a problem? Please describe.
To avoid memory leaks, IDB users need to clean up database resources
Typescript 5.2 introduced a using keyword to perform resource cleanup when a resource exits lexical scope
Describe the solution you'd like
Add a Symbol.dispose handler on the resource returned from openDB so Typescript 5.2+ users can use the using keyword to automatically close the DB connection
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
using
keyword to perform resource cleanup when a resource exits lexical scopeDescribe the solution you'd like
Symbol.dispose
handler on the resource returned fromopenDB
so Typescript 5.2+ users can use theusing
keyword to automatically close the DB connectionThe text was updated successfully, but these errors were encountered: