Skip to content
This repository was archived by the owner on Jan 30, 2021. It is now read-only.

Commit 07575ee

Browse files
author
rr-
committed
Fixed unclear lifetime of GUI threads
1 parent ae5d54e commit 07575ee

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

gui/main_window.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@ void MainWindow::on_patchPushButton_clicked()
196196
patcher, SIGNAL(finished()),
197197
this, SLOT(workFinished()));
198198

199+
connect(
200+
patcher, SIGNAL(finished()),
201+
patcher, SLOT(deleteLater()));
202+
199203
patcher->start();
200204
}
201205

0 commit comments

Comments
 (0)