Skip to content

Commit

Permalink
update comment based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
dipinhora committed Sep 26, 2020
1 parent 93fa010 commit 7bf1c23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/libponyrt/actor/actor.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,11 @@ bool ponyint_actor_run(pony_ctx_t* ctx, pony_actor_t* actor, bool polling)

// Try and run GC because we're blocked and sending a block message
// to the CD and we're past the normal point at which `try_gc` is
// called as part of this function
// called as part of this function. This will try and free any
// memory the actor has in its heap that wouldn't get freed otherwise
// until the actor is destroyed or happens to receive more work via
// application messages that eventually trigger a GC which may not
// happen for a long time (or ever).
try_gc(ctx, actor);
}

Expand Down

0 comments on commit 7bf1c23

Please sign in to comment.