Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow processes sending messages to themselves
Processes sending messages to themselves can result in deadlocks, whether the message's result is awaited immediately or not. Instead of trying to go through all sorts of hoops to detect this as late as possible, we'll just check for it when sending messages. This fixes https://gitlab.com/inko-lang/inko/-/issues/259. Changelog: fixed
- Loading branch information
1 parent
9dd29cd
commit d496aea
Showing
2 changed files
with
38 additions
and
42 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