-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When MLFiletransfer adds a reconnect handler for hardlinking files on mainapp start while another thread (the receive queue) collects the current state to be written to db, the NSArray containing the reconnect handlers will be mutated while the used NSKeyedArchiver tries to serialize it. We fix this by adding only a copy of the array in our state dictionary. Potential other mutations are now guarded by copies, too.
- Loading branch information
1 parent
37ff940
commit dcd9247
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters