Null check

This commit is contained in:
varjolintu 2018-05-09 11:59:39 +03:00 committed by Janek Bevendorff
parent 2bb72eba02
commit 3d3bc7a062

View File

@ -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);
}