mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:37:48 +02:00
Guard against a crash in stopScreenshare()
This commit is contained in:
parent
d5c4b0cd9f
commit
d8026304a4
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ void ScreenshareScriptingInterface::stopScreenshare() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_screenshareProcess->state() != QProcess::NotRunning) {
|
if (_screenshareProcess && _screenshareProcess->state() != QProcess::NotRunning) {
|
||||||
_screenshareProcess->terminate();
|
_screenshareProcess->terminate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue