forked from GafferHQ/gaffer
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LocalDispatcher : Use WeakMethod for BackgroundTask
This was made necessary by changes in GafferHQ#5579 which meant that the functor wasn't destroyed immediately after running. Using the WeakMethod is better though, because the old method wouldn't have broken the circular reference if the background task was cancelled before it was started.
- Loading branch information
1 parent
eb97ba3
commit cb5699a
Showing
2 changed files
with
13 additions
and
2 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