Add login lock session plumbing

This commit is contained in:
2026-06-11 01:22:32 -04:00
parent f18d5a468c
commit 6a4789b248
5 changed files with 104 additions and 0 deletions
+9
View File
@@ -278,6 +278,15 @@ Client::~Client() {
this->bb_character_index);
}
}
if (this->account_sync_lock_acquired && this->login && this->login->account) {
AccountSync::notify_login_session_end(
this->login->account->account_id,
this->account_sync_session_nonce,
phosg::name_for_enum(this->version()));
this->account_sync_lock_acquired = false;
}
this->log.info_f("Deleted");
}