mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-06 05:58:58 -04:00
High CPU fix for Linux
This commit is contained in:
parent
92ab7bece2
commit
acceb8efc9
1 changed files with 3 additions and 2 deletions
|
@ -93,9 +93,10 @@ void NativeMessagingHost::readLength()
|
|||
{
|
||||
quint32 length = 0;
|
||||
std::cin.read(reinterpret_cast<char*>(&length), 4);
|
||||
if (!std::cin.eof() && length > 0)
|
||||
{
|
||||
if (!std::cin.eof() && length > 0) {
|
||||
readStdIn(length);
|
||||
} else {
|
||||
m_notifier->setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue