mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
feat(imex): Cancel BackupProvider when dropped (#4242)
This ensures that the BackupProvider will be stopped as soon as the struct is dropped and the imex progress error event is emitted. This makes it easier to use and also makes sure that the ffi call dc_backup_provider_unref() does not lead to dangling resources.
This commit is contained in:
committed by
GitHub
parent
5be558ea68
commit
943c8a1ab3
@@ -5,6 +5,7 @@
|
||||
### Changes
|
||||
- Update iroh, remove `default-net` from `[patch.crates-io]` section.
|
||||
- transfer backup: Connect to mutliple provider addresses concurrently. This should speed up connection time significantly on the getter side. #4240
|
||||
- Make sure BackupProvider is cancelled on drop (or dc_backup_provider_unref). The BackupProvider will now alaway finish with an IMEX event of 1000 or 0, previoulsy it would sometimes finishe with 1000 (success) when it really was 0 (failure). #4242
|
||||
|
||||
## [1.112.1] - 2023-03-27
|
||||
|
||||
|
||||
Reference in New Issue
Block a user