mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-04 07:42:35 -08:00
High CPU fix for Linux
This commit is contained in:
1 parent
92ab7bece2
commit
acceb8efc9
1 file changed
+3
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user