-
Notifications
You must be signed in to change notification settings - Fork 25
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
garbage-collection warning despite using shutdown -- only when dbdir is specified #60
Comments
I'm seeing the same issue when using |
It's likely related to #83. |
A workaround is to pass
|
…ct(con, shutdown=TRUE) See duckdb/duckdb-r#60 (comment)
This looks much better in #124, I'll merge it today, binaries will be available on https://duckdb.r-universe.dev/duckdb# soon. Can you confirm? |
Is this still an issue with v0.10.1, on CRAN now? |
Yes, it is fixed for me in v0.10.1. Neither the reprex at the start of this issue nor my presenting issue gives the "Database is garbage-collected" warning. |
When the connection is created with disk-base storage, the following gives the infamous garbage-collection warning (#34, #58) when
gc()
is called, despite already being correctly shutdown as directed:Without the dbdir argument, we do not get a warning:
Any advice on suppressing this warning? (I have a few packages that wrap duckdb and users are frequently confused by seeing this warning, mistaking it for an error).
The text was updated successfully, but these errors were encountered: