jrydberg
Explore posts from serversCDCloudflare Developers
•Created by jrydberg on 1/1/2025 in #workers-help
An RPC stub was not disposed properly. You must call dispose()
I'm executing a Workers Workflow locally and I've started to get the following error when I'm doing some database calls (libsql on drizzle towards Turso)
>✘ [ERROR] An RPC stub was not disposed properly. You must call dispose() on all stubs in order to let the other side know that you are no longer using them. You cannot rely on the garbage collector for this because it may take arbitrarily long before actually collecting unreachable objects. As a shortcut, calling dispose() on the result of an RPC call disposes all stubs within it.
I do not do any RPCs myself, and don't think libsql does either. Any idea where I could start trouble shotting? I've commented out all code except the db query, and it the thing that is triggering the issue.
1 replies
CDCloudflare Developers
•Created by jrydberg on 10/4/2024 in #workers-help
Binding outside of the fetch handler?
2 replies
DTDrizzle Team
•Created by jrydberg on 8/3/2024 in #help
How to get the type of transaction from a database?
I wanna pass a transaction to a function, how can I get the type for the function declaration?
6 replies