mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-04 17:05:23 -05:00
High CPU fix for Linux
This commit is contained in:
parent
92ab7bece2
commit
acceb8efc9
@ -93,9 +93,10 @@ void NativeMessagingHost::readLength()
|
|||||||
{
|
{
|
||||||
quint32 length = 0;
|
quint32 length = 0;
|
||||||
std::cin.read(reinterpret_cast<char*>(&length), 4);
|
std::cin.read(reinterpret_cast<char*>(&length), 4);
|
||||||
if (!std::cin.eof() && length > 0)
|
if (!std::cin.eof() && length > 0) {
|
||||||
{
|
|
||||||
readStdIn(length);
|
readStdIn(length);
|
||||||
|
} else {
|
||||||
|
m_notifier->setEnabled(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user