> On Jan 30, 2017, at 8:03 PM, Rowan Worth <row...@dug.com> wrote: > > If the iterator isn't exhausted, how do you know when to dispose the > sqlite3_stmt?
The iterator (which is an Objective-C NSEnumerator object) will be deleted shortly after it exits scope. Some of the refcounting is deferred via the autorelease pool, but basically by the time the thread returns back to its event loop. —Jens _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users