[w3c/IndexedDB] Add IDBCursor.close() (#185)

Cursors require maintaining a fair bit of state. Implementations may also do optimizations such as pre-fetching records. This state can only be completely released when either the cursor hits the end of its range or both the request and the cursor have been GC'd (since there's an implicit bidirectional dependency), or when the transaction ends.

It might be nice to expose a `close()` method on cursors to allow web apps to signal that a cursor can be tidied up prior transaction closing.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/185

Received on Tuesday, 28 March 2017 16:49:05 UTC