-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying to get connectHeap to play nice
Normally the state object, because it is on the stack, is destroyed somewhere _after_ the receiver is called. With `connectHeap` this is not the case, since the state lives on the heap. Instead we call destroy manually to simulate this. Also note that connectHeap can probably be used to escape references to scoped sender/receivers, so its a hodgepot. Anyway, its not working...
- Loading branch information
Showing
2 changed files
with
53 additions
and
28 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