From 7af18929b87c29452d45cb96c3bc685aac9761e4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 28 Mar 2024 14:13:05 +0200 Subject: Add note --- mod/mod-ci-github.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod') 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 { + // 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 { -- cgit v1.1