mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
WindowServer: Close the framebuffer fd in ~Screen()
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user