SpacetimeDB
SpacetimeDB copied to clipboard
Repair transactionality of `st_client` removals after disconnect
When the client_disconnected reducer runs successfully, we should include the st_client deletion in that transaction. As of writing we do not, instead appending another transaction afterwards. Note that if the client_disconnected reducer fails, we must then start another transaction to delete from st_client. In either case, we should commit exactly one TX.