Files
ladybird/AK
Jelle Raaijmakers 2b78b84979 AK+Everywhere: Add and use weak_callback()
We have a common pattern of creating a `WeakPtr<T>` from a reference and
passing that into a lambda, to then take the strong ref when the lambda
is executed. Add `weak_callback(Weakable, lambda)` that returns a lambda
that only invokes the callback if a strong ref exists, and passes it as
the first argument.
2026-02-26 08:03:50 -05:00
..
2025-11-20 15:44:25 +01:00
2024-12-04 16:45:58 +00:00
2024-11-20 21:13:23 +01:00
2026-01-26 15:51:46 -06:00
2026-02-17 12:38:51 +00:00
2026-01-29 10:10:12 +01:00
2026-02-17 12:38:51 +00:00
2024-11-19 22:07:01 -07:00
2024-11-10 14:48:20 -07:00
2026-02-21 19:27:35 +01:00
2024-12-28 05:39:32 -08:00
2025-08-23 16:04:36 -06:00
2026-02-18 08:02:45 -05:00
2024-02-11 18:53:00 +01:00
2025-08-26 15:20:33 +02:00
2026-02-17 10:48:09 -05:00