Haiku: remove redundant calls to delete_sem()

Fixes #184.

Semaphores are kernel-managed objects, calling delete_sem() twice is not more
dangerous than calling close() twice on an fd though, it would just return
an error.
This commit is contained in:
François Revol 2019-03-27 00:39:24 +01:00 committed by Max Kellermann
parent 37a0f04712
commit 0d8942e64a

View File

@ -140,9 +140,6 @@ HaikuOutput::Close() noexcept
HaikuOutput::~HaikuOutput()
{
delete_sem(new_buffer);
delete_sem(buffer_done);
finalize_application();
}