refactor: WlClipboard, close not kill running copy process on exit
This commit is contained in:
parent
34f949dc72
commit
ed114252e2
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ WlClipboard::~WlClipboard()
|
||||||
{
|
{
|
||||||
stopMonitoring();
|
stopMonitoring();
|
||||||
for (auto &cmd : m_runningWlCopies) {
|
for (auto &cmd : m_runningWlCopies) {
|
||||||
cmd->kill();
|
cmd->close();
|
||||||
cmd->waitForFinished(100);
|
cmd->waitForFinished(100);
|
||||||
}
|
}
|
||||||
m_runningWlCopies.clear();
|
m_runningWlCopies.clear();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue