Merge branch 'screenshareElectronApp' of github.com:MiladNazeri/hifi into screenshareElectronApp

This commit is contained in:
milad 2019-10-31 10:00:26 -07:00
commit 9eba9e8483

View file

@ -79,7 +79,7 @@ void ScreenshareScriptingInterface::stopScreenshare() {
return;
}
if (_screenshareProcess->state() != QProcess::NotRunning) {
if (_screenshareProcess && _screenshareProcess->state() != QProcess::NotRunning) {
_screenshareProcess->terminate();
}
}