Commit f31c71a
committed
[daemon] ensure all outstanding futures are done before exit
The daemon object hosts to QFuture and QFutureWatcher objects,
which may be still active while the daemon is being destructed.
This patch ensures that the destructor call waits for all outstanding
futures, and all the raised signals during the lifetime of the futures
are delivered to the recipients.
Signed-off-by: Mustafa Kemal Gilor <[email protected]>1 parent 23e6620 commit f31c71a
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1465 | 1465 | | |
1466 | 1466 | | |
1467 | 1467 | | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
1468 | 1487 | | |
1469 | 1488 | | |
1470 | 1489 | | |
| |||
0 commit comments