forked from atomvm/AtomVM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a crash caused by
memory_estimate_usage
failing with some funct…
…ions Functions created with make_fun* opcodes are boxed terms containing terms that are copied. However, `memory_estimate_usage` did not take them into account. As a consequence, a crash could occur when such functions were sent in messages. Signed-off-by: Paul Guyot <pguyot@kallisys.net>
- Loading branch information
Showing
2 changed files
with
47 additions
and
12 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