https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99576
--- Comment #4 from Victor Burckel <victor.burckel at gmail dot com> --- I'm also seeing the same behavior, destructor of lambda captures seems to get called twice https://godbolt.org/z/zxnhM3x47
victor.burckel at gmail dot com via Gcc-bugs Wed, 23 Jun 2021 01:54:23 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99576
--- Comment #4 from Victor Burckel <victor.burckel at gmail dot com> --- I'm also seeing the same behavior, destructor of lambda captures seems to get called twice https://godbolt.org/z/zxnhM3x47