From 23dbc976f41ee337ec2c5a98bce83c4502ba879d Mon Sep 17 00:00:00 2001 From: dreamsourcelabTAI Date: Fri, 19 May 2023 19:51:57 +0800 Subject: [PATCH] fix: The thread object maybe crash when the program exit --- DSView/pv/appcontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DSView/pv/appcontrol.cpp b/DSView/pv/appcontrol.cpp index dd1c0b91..8d48bb24 100644 --- a/DSView/pv/appcontrol.cpp +++ b/DSView/pv/appcontrol.cpp @@ -60,7 +60,7 @@ AppControl* AppControl::Instance() } void AppControl::Destroy(){ - delete this; + } bool AppControl::Init()