Skip to main content

close_database

Function close_database 

Source
pub fn close_database()
Expand description

Close all database connections (for logout / account switch). Bumps POOL_GENERATION first so in-flight guards fail their Drop check and discard the connection instead of returning it to the (now-cleared) pool.