Skip to content

Commit 0454e3c

Browse files
authored
Fix crash after resetting bind in CKeyBinds::DoPostFramePulse
1 parent 7dccdf4 commit 0454e3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Client/core/CKeyBinds.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,6 +2014,9 @@ void CKeyBinds::DoPostFramePulse()
20142014
{
20152015
for (const KeyBindPtr& bind : m_binds)
20162016
{
2017+
if (bind->isBeingDeleted || !bind->boundKey)
2018+
continue;
2019+
20172020
switch (bind->type)
20182021
{
20192022
case KeyBindType::COMMAND:

0 commit comments

Comments
 (0)