aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-03-28 14:13:05 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-10-15 09:05:27 +0200
commit4e26657f8826785aa5b286a1639e0d8a87dd8724 (patch)
tree66b31d69c06ef5f2737e626c57eaa7f186a424d7
parent45aaea39b441cbc3c14a972c1856bdfb7f8208a5 (diff)
Add note
-rw-r--r--mod/mod-ci-github.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx
index 8e6abe2..a433f1d 100644
--- a/mod/mod-ci-github.cxx
+++ b/mod/mod-ci-github.cxx
@@ -1073,6 +1073,9 @@ namespace brep
rcrs = move (rs.check_runs), // @@ crs
initial_state] (const tenant_service& ts) -> optional<string>
{
+ // NOTE: this lambda may be called repeatedly (e.g., due to transaction
+ // being aborted) and so should not move out of its captures.
+
service_data sd;
try
{