From 7cb32a3680b2075967b0bd4505c2587f66920922 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 27 Feb 2021 22:37:01 +0100 Subject: [PATCH] Qt: set parent for QThread This may or may not have caused a leak --- rpcs3/rpcs3qt/downloader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/rpcs3qt/downloader.cpp b/rpcs3/rpcs3qt/downloader.cpp index 94ff08bec9..571aeccc0e 100644 --- a/rpcs3/rpcs3qt/downloader.cpp +++ b/rpcs3/rpcs3qt/downloader.cpp @@ -117,6 +117,7 @@ void downloader::start(const std::string& url, bool follow_location, bool show_p } m_thread->setObjectName("Download Thread"); + m_thread->setParent(this); m_thread->start(); }