mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
infoviewer_bb: delete progressbars in destructor
Origin commit data
------------------
Commit: 009f82fca4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-31 (Wed, 31 Oct 2012)
This commit is contained in:
@@ -88,13 +88,13 @@ CInfoViewerBB::CInfoViewerBB()
|
|||||||
#endif
|
#endif
|
||||||
hddperT = 0;
|
hddperT = 0;
|
||||||
hddperTflag = false;
|
hddperTflag = false;
|
||||||
|
hddscale = NULL;
|
||||||
|
sysscale = NULL;
|
||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CInfoViewerBB::Init()
|
void CInfoViewerBB::Init()
|
||||||
{
|
{
|
||||||
hddscale = NULL;
|
|
||||||
sysscale = NULL;
|
|
||||||
hddwidth = 0;
|
hddwidth = 0;
|
||||||
bbIconMaxH = 0;
|
bbIconMaxH = 0;
|
||||||
bbButtonMaxH = 0;
|
bbButtonMaxH = 0;
|
||||||
@@ -123,6 +123,10 @@ CInfoViewerBB::~CInfoViewerBB()
|
|||||||
pthread_cancel(hddperT);
|
pthread_cancel(hddperT);
|
||||||
hddperT = 0;
|
hddperT = 0;
|
||||||
}
|
}
|
||||||
|
if (hddscale)
|
||||||
|
delete hddscale;
|
||||||
|
if (sysscale)
|
||||||
|
delete sysscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
CInfoViewerBB* CInfoViewerBB::getInstance()
|
CInfoViewerBB* CInfoViewerBB::getInstance()
|
||||||
|
Reference in New Issue
Block a user