virtualmonitor: Make sure we clean up m_process after deleting
(cherry picked from commit c989be56cd
)
This commit is contained in:
parent
ab7a5c4ccd
commit
67e85c14b6
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ bool VirtualMonitorPlugin::requestVirtualMonitor()
|
|||
requestVirtualMonitor();
|
||||
} else {
|
||||
m_process->deleteLater();
|
||||
m_process = nullptr;
|
||||
}
|
||||
qCWarning(KDECONNECT_PLUGIN_VIRTUALMONITOR) << "virtual display finished with" << device()->name() << m_process->readAllStandardError();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue