chore(event): replace inlined TSList::DeleteNode

This commit is contained in:
fallenoak 2025-10-02 09:06:19 -05:00 committed by GitHub
parent b10bb3bba6
commit c3813f9d88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,10 +21,7 @@ void UpdateSyncKeyState(EvtContext* context, KEY key, EVENTID& id) {
for (auto node = list->Head(); node;) {
if (node->key == key) {
keyDown = 1;
auto dead = node;
node = list->Next(node);
list->UnlinkNode(dead);
list->DeleteNode(dead);
node = list->DeleteNode(node);
} else {
node = list->Next(node);
}