mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 19:13:38 +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;
|
||||
}
|
||||
|
||||
if (_screenshareProcess->state() != QProcess::NotRunning) {
|
||||
if (_screenshareProcess && _screenshareProcess->state() != QProcess::NotRunning) {
|
||||
_screenshareProcess->terminate();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue