mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
b4e478aa50
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.
8 lines
82 B
C++
8 lines
82 B
C++
#pragma once
|
|
|
|
template<typename T>
|
|
class Badge {
|
|
friend T;
|
|
Badge() { }
|
|
};
|