You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the send function, when the worker is destroyed, there is a while loop which fail indefinitely, making the website failling completely
Destroy can occur any time and the send function can be called in a promise later.
// Infinite error like this
hook.js:608 cannot send a message since the worker is not set!
overrideMethod @hook.js:608
postTask @async_bindings.ts:103
pollPendingQuery @async_bindings.ts:422
send @async_connection.ts:65
To Reproduce
There is a while loop in the send function which doesnt stop when there is an error
What happens?
In the send function, when the worker is destroyed, there is a while loop which fail indefinitely, making the website failling completely
Destroy can occur any time and the send function can be called in a promise later.
To Reproduce
There is a while loop in the send function which doesnt stop when there is an error
https://github.com/duckdb/duckdb-wasm/blob/main/packages/duckdb-wasm/src/bindings/connection.ts#L43
https://github.com/duckdb/duckdb-wasm/blob/main/packages/duckdb-wasm/src/parallel/async_connection.ts#L64
Destroy a worker and call send function
Browser/Environment:
Chrome 133
Device:
Macbook
DuckDB-Wasm Version:
1.29.1-dev17.0
DuckDB-Wasm Deployment:
https://shell.duckdb.org/
Full Name:
Fontaine Audrien
Affiliation:
Unify
The text was updated successfully, but these errors were encountered: