mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-22 21:41:14 +01:00
344c5f2a62
The `FileDescriptor` class is a RAII wrapper over FDs which handles their lifetimes alongside other C++ semantics such as moving and copying. It has been used in `skyline::kernel::MemoryManager` to handle the lifetime of the ashmem FD correctly, it wasn't being destroyed earlier which can result in leaking FDs across runs.