aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-03-28 14:13:05 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-04-24 15:14:54 +0200
commited7d989e346e1130d25f0c6abfbc3285e801cea7 (patch)
tree67d483c5f5717800bd4fc8f01a26ebaff656152b
parentaf1d02b30ed857a1e791730a61ab5b6f0554faf9 (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
{