aboutsummaryrefslogtreecommitdiff
path: root/ttwhy/scoped_attributes.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'ttwhy/scoped_attributes.cppm')
-rw-r--r--ttwhy/scoped_attributes.cppm1
1 files changed, 1 insertions, 0 deletions
diff --git a/ttwhy/scoped_attributes.cppm b/ttwhy/scoped_attributes.cppm
index b49dd18..243d4ac 100644
--- a/ttwhy/scoped_attributes.cppm
+++ b/ttwhy/scoped_attributes.cppm
@@ -72,6 +72,7 @@ namespace ttwhy
if (m_file_descriptor > 0)
{
tcsetattr(m_file_descriptor, TCSANOW, &m_attributes);
+ close(m_file_descriptor);
}
}