Files
profanity/src/ui
Steffen Jaeckel c5a131ee46 Introduce our own shutdown callback mechanism.
Instead of adding stuff to `_shutdown()`, we can now register a shutdown
routine from the respective `init()` function of our modules.

This also has the advantage, that we're sure they're called in reverse
order from how the initialization happened.

I didn't simply use `atexit()` because POSIX says that the number of
possible callbacks is limited (min 32) and I was not sure whether
we will maybe extend this number at one point.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2025-03-07 21:09:16 +01:00
..
2025-01-28 16:43:13 +01:00
2024-01-22 16:03:48 +01:00
2024-06-19 16:01:46 +02:00
2023-08-31 23:14:02 +02:00
2024-06-19 16:01:46 +02:00
2024-02-19 17:41:06 +01:00
2024-01-22 16:03:48 +01:00
2023-08-31 23:14:02 +02:00
2024-01-22 16:03:48 +01:00
2020-09-04 12:55:20 +02:00
2019-11-13 12:11:05 +01:00
2020-07-07 14:18:57 +02:00
2023-12-12 18:26:21 +01:00
2024-01-22 16:03:48 +01:00
2025-01-28 16:43:13 +01:00
2023-08-31 23:14:02 +02:00