Skip to main content

close_database

Function close_database 

Source
pub fn close_database()
Expand description

Drop this account’s database resources.

Installing a fresh session IS the teardown: the previous one is released, and its connections close once the last outstanding guard returns. A guard still in flight keeps serving the account it began under.