aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-03-28 14:13:05 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-06-05 09:12:46 +0200
commit7af18929b87c29452d45cb96c3bc685aac9761e4 (patch)
tree8a06a8385028616a655f5a59c791497a4720a1ec
parent0d17ac653b9509969f5909d36ec19744d92c3299 (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
{