Skip to content

Commit

Permalink
Update context.c
Browse files Browse the repository at this point in the history
  • Loading branch information
petermm authored Feb 2, 2024
1 parent b25b331 commit dcf63c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libAtomVM/context.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void context_destroy(Context *ctx)
struct ListHead *tmp;
MUTABLE_LIST_FOR_EACH (item, tmp, &monitors) {
struct Monitor *monitor = GET_LIST_ENTRY(item, struct Monitor, monitor_list_head);
resource_monitor = CONTAINER_OF(monitor, struct ResourceMonitor, base);
//resource_monitor = CONTAINER_OF(monitor, struct ResourceMonitor, base);
void *resource = term_to_term_ptr(monitor->monitor_obj);
struct RefcBinary *refc = refc_binary_from_data(resource);
refc->resource_type->down(&env, resource, &ctx->process_id, &monitor->ref_ticks);
Expand Down

0 comments on commit dcf63c0

Please sign in to comment.