mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
WindowServer: Close the framebuffer fd in ~Screen()
This commit is contained in:
parent
9ddd540ca9
commit
a50a9d67ee
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ Screen::Screen(unsigned desired_width, unsigned desired_height)
|
|||
|
||||
Screen::~Screen()
|
||||
{
|
||||
close(m_framebuffer_fd);
|
||||
}
|
||||
|
||||
bool Screen::set_resolution(int width, int height)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue