From fc83cb3fa5b15e9fb20a9180a3880297cf398de7 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 31 Jul 2023 16:12:54 -0700 Subject: Issue found with recycled fds. We don't always clean up instantly, but the system is reusing ids before we're ready. --- src/stable/queuebuf.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stable/queuebuf.cpp') diff --git a/src/stable/queuebuf.cpp b/src/stable/queuebuf.cpp index f80f9d9..29da6ba 100644 --- a/src/stable/queuebuf.cpp +++ b/src/stable/queuebuf.cpp @@ -22,6 +22,7 @@ Bu::QueueBuf::~QueueBuf() { for( BlockList::iterator i = lBlocks.begin(); i; i++ ) delete[] *i; + lBlocks.clear(); } void Bu::QueueBuf::close() -- cgit v1.2.3