From c5cae1034e1b617606f76158383eef30a74094aa Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sun, 1 May 2016 11:29:19 -0700 Subject: [PATCH] Forgot virtual destructor on interface class. So my Files weren't getting closed properly! --- firmware/application/capture_thread.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/application/capture_thread.hpp b/firmware/application/capture_thread.hpp index 16c4b99e..8dddc530 100644 --- a/firmware/application/capture_thread.hpp +++ b/firmware/application/capture_thread.hpp @@ -38,6 +38,7 @@ using namespace hackrf::one; class Writer { public: virtual bool write(const void* const buffer, const size_t bytes) = 0; + virtual ~Writer() { }; }; class RawFileWriter : public Writer {