mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 08:32:04 +02:00
This required a fair bit of plumbing. The CharacterDevice::close() virtual will now be closed by ~FileDescriptor(), allowing device implementations to do custom cleanup at that point. One big problem remains: if the master PTY is closed before the slave PTY, we go into crashy land.
5.1 KiB
5.1 KiB