mirror of
https://github.com/RGBCube/serenity
synced 2025-06-20 22:52: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()
|
Screen::~Screen()
|
||||||
{
|
{
|
||||||
|
close(m_framebuffer_fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Screen::set_resolution(int width, int height)
|
bool Screen::set_resolution(int width, int height)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue