Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
supervisor: Eliminate a subtle internal state corruption
When a temporary child of a `simple_one_for_one` supervisor died, the internal state of the supervisor would be corrupted in a way that would cause the supervisor to retain the start arguments for subsequent children started by the supervisor, causing unnecessary growth of the supervisor's heap. This bug was introduced in 59d4182. Thanks to Zeyu Zhang (@zzydxm) for noticing this bug and to Maxim Fedorov for making it known to me.
- Loading branch information
Showing
2 changed files
with
61 additions
and
3 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