linuxdeepin / dtkcore

Deepin Toolkit, core module
Other
73 stars 85 forks source link

fix: lossing value when save DConfig #408

Closed 18202781743 closed 5 months ago

18202781743 commented 5 months ago

Blocking caller until it's finished, otherwise it maybe lose value when application is quit early.

deepin-bot[bot] commented 5 months ago

Doc Check bot :green_circle: Document Coverage Check Passed!

deepin-bot[bot] commented 5 months ago

TAG Bot

New tag: 5.6.26 DISTRIBUTION: unstable Suggest: synchronizing this PR through rebase #407

18202781743 commented 5 months ago

建个issue,DConfig的实现还是要做成允许在一个专有线程中调用DBus或文件读写接口,否则它有可能会阻塞当前线程。

https://github.com/linuxdeepin/dtkcore/issues/375

deepin-ci-robot commented 5 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743, kegechen, zccrs

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[debian/deepin/OWNERS](https://github.com/linuxdeepin/dtkcore/blob/master/debian/deepin/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment