Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed ESP32 socket driver holding the global socket-list lock across blocking TCP connects, leaking the port on connect failure, losing concurrent `accept` waiters, leaking `netbuf` on receive error paths, and a recycled-`netconn` race between socket close and the event handler
- Fixed generic_unix TCP server sockets performing an abortive close that could truncate replies awaiting ack
- Fixed a JIT crash (`EXC_BAD_ACCESS`/SIGBUS) on Apple Silicon
- Fixed `term_from_resource` failing to compile from C++

## [0.7.0-alpha.1] - 2026-04-06

Expand Down
2 changes: 1 addition & 1 deletion src/libAtomVM/term.h
Original file line number Diff line number Diff line change
Expand Up @@ -3082,7 +3082,7 @@ static inline term term_from_resource(void *resource, Heap *heap)
boxed_value[0] = TERM_BOXED_REFERENCE_RESOURCE_HEADER;
boxed_value[1] = (term) refc;
// Add the resource to the mso list
refc_binary_add_refcount(refc, 1);
refc_binary_increment_refcount(refc);
term ret = ((term) boxed_value) | TERM_PRIMARY_BOXED;
heap->root->mso_list = term_list_init_prepend(boxed_value + REFERENCE_RESOURCE_CONS_OFFSET, ret, heap->root->mso_list);
return ret;
Expand Down
Loading