mirror of
https://github.com/x64dbg/x64dbg.git
synced 2025-02-21 05:21:21 +00:00
GUI: Fixed memory leak in CPUDump and SerachListView
This commit is contained in:
parent
982f8735e9
commit
392d46bf8c
@ -393,5 +393,6 @@ void SearchListView::searchSlot()
|
||||
{
|
||||
FlickerThread* thread = new FlickerThread(mSearchBox, this);
|
||||
connect(thread, SIGNAL(setStyleSheet(QString)), mSearchBox, SLOT(setStyleSheet(QString)));
|
||||
connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater()));
|
||||
thread->start();
|
||||
}
|
||||
|
@ -288,6 +288,7 @@ void CPUDump::setupContextMenu()
|
||||
void CPUDump::getAttention()
|
||||
{
|
||||
BackgroundFlickerThread* thread = new BackgroundFlickerThread(this, mBackgroundColor, this);
|
||||
connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater()));
|
||||
thread->start();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user