aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-03-28 14:13:05 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-05-13 09:17:32 +0200
commit25e4db4030d63a9952656928b87623b6bcbec1c3 (patch)
tree6f13779e621f1eb41f5c646b73b88e0bd45cbe4c
parentdbe54011673e2c4ade41ec39a12590570881a218 (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
{