Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Oct 17, 2023
1 parent 895a9d7 commit 0279f4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/interpreter_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ namespace ccf::js
"interpreters");
}

// Return a fresh interpreter, not stored in the cache
// Return a fresh interpreter every time, the re-use of interpreters
// is not enabled on 4.x
LOG_TRACE_FMT("Returning freshly constructed interpreter");
return std::make_shared<js::Context>(access);
}
Expand Down

0 comments on commit 0279f4f

Please sign in to comment.