diff options
Diffstat (limited to 'src/browser/NativeMessagingBase.cpp')
-rw-r--r-- | src/browser/NativeMessagingBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browser/NativeMessagingBase.cpp b/src/browser/NativeMessagingBase.cpp index 33592ce3a..b44875b14 100644 --- a/src/browser/NativeMessagingBase.cpp +++ b/src/browser/NativeMessagingBase.cpp @@ -104,7 +104,7 @@ void NativeMessagingBase::readNativeMessages() { #ifdef Q_OS_WIN quint32 length = 0; - while (m_running.load() && !std::cin.eof()) { + while (m_running.load() != 0 && !std::cin.eof()) { length = 0; std::cin.read(reinterpret_cast<char*>(&length), 4); readStdIn(length); |