This is aim to avoid corrupt the wallet when hit the unrecoverable error, the main upload process will forcefuly terminate the entire thread, but the child make_payment process might continue with the wallet processing that go to the next descendant spend.
Which actually causing un-recoverable DAG that observed in some of the uploaders.
Related Issue
Fixes # (if applicable).
Type of Change
Please mark the types of changes made in this pull request.
[x] Bug fix (non-breaking change which fixes an issue)
Description
This is aim to avoid corrupt the wallet when hit the unrecoverable error, the main upload process will forcefuly terminate the entire thread, but the child make_payment process might continue with the wallet processing that go to the next descendant spend. Which actually causing un-recoverable DAG that observed in some of the uploaders.
Related Issue
Fixes # (if applicable).
Type of Change
Please mark the types of changes made in this pull request.