-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Require Send on closures connected to signals
The closures may be executed on a different thread, depending on where the emitting object lives. Also closes #577. We have determined that is indeed safe to queue a deferred closure, as the closure will not be called if the object is deleted, as we use the object itself as the context.
- Loading branch information
1 parent
64b8257
commit 3a2dcda
Showing
5 changed files
with
111 additions
and
85 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
Oops, something went wrong.