Null check

This commit is contained in:
varjolintu authored and Janek Bevendorff committed 2018-05-09 11:16:08 +02:00
1 parent 2bb72eba02
commit 3d3bc7a062
1 file changed
+1 -1
+1 -1
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);
}