Bryan Chen
CDCloudflare Developers
•Created by Bryan Chen on 4/9/2025 in #workers-help
How to debug missing dispose call for RPC stub issue?
I am getting this warning
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.How am I suppose to debug where is this coming from? I am using service binding and durable objects
1 replies
CDCloudflare Developers
•Created by Bryan Chen on 2/27/2025 in #workers-help
Unable to access build time secrets
I have defined some build time variables and secrets. However, in my build script, I am only able to access vriables via
process.env.VARIABLE_NAME
but not secrets. How to access the secrets?1 replies