From e08cbbb510c9dc587aa4c9a228db11f64e43ea79 Mon Sep 17 00:00:00 2001 From: Jared Bruni Date: Sat, 28 Aug 2021 12:33:27 -0700 Subject: [PATCH] updated exit --- src/main_window.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main_window.cpp b/src/main_window.cpp index c63a284..9b6fb06 100644 --- a/src/main_window.cpp +++ b/src/main_window.cpp @@ -86,7 +86,10 @@ void custom_filter(cv::Mat &) { AC_MainWindow::~AC_MainWindow() { controls_Stop(); - //delete playback; +#ifndef _WIN32 + delete playback; +#endif + } AC_MainWindow::AC_MainWindow(QWidget *parent) : QMainWindow(parent) {