Fix crash on launch caused by ref of tmp object (#13341)

This commit is contained in:
Noisyfox
2026-04-25 00:11:23 +08:00
committed by GitHub
parent 6e30443c62
commit 37de679533

View File

@@ -80,7 +80,8 @@ void break_to_debugger()
const std::string& shortkey_shift_prefix()
{
return _u8L("Shift+");
static const std::string str = _u8L("Shift+");
return str;
}
const std::string& shortkey_ctrl_prefix()