-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clone inner objects when cloning DirectButler
When cloning a DirectButler instance, clone all of its inner objects instead of just copying references to the top-level properties. This makes it safe to use the cloned objects concurrently from different threads. This is necessary for the Butler server and other services using DirectButler as a backend, since they have a separate thread for each incoming request.
- Loading branch information
Showing
2 changed files
with
6 additions
and
11 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