mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-17 05:46:19 +01:00
![PixelyIon](/assets/img/avatar_default.png)
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.