Null check
This commit is contained in:
committed by
Janek Bevendorff
parent
2bb72eba02
commit
3d3bc7a062
@@ -78,7 +78,7 @@ void NativeMessagingHost::run()
|
||||
QFile::remove(serverPath);
|
||||
|
||||
// Ensure that STDIN is not being listened when proxy is used
|
||||
if (m_notifier->isEnabled()) {
|
||||
if (m_notifier && m_notifier->isEnabled()) {
|
||||
m_notifier->setEnabled(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user