Пример #1
0
VizFrame::~VizFrame(void)
{
	cleanupThreads();

	// Clean up all the allocated icons
	delete bmpOpen;
	delete bmpConfig;
	delete bmpHelp;
	delete bmpFind;
	delete bmpHome;
	delete bmpStop;
	delete bmpFastForward;
	delete bmpPlay;
	delete bmpRewind;

#ifdef _WIN32
	delete bmpIda;
	bmpIda     = NULL;
#endif
	bmpOpen    = NULL;
	bmpConfig  = NULL;
	bmpHelp    = NULL;
	bmpFind    = NULL;
	bmpHome    = NULL;
	bmpStop	   = NULL;
	bmpFastForward = NULL;
	bmpPlay    = NULL;
	bmpRewind  = NULL;

	if (animationTimer)
	{
		delete animationTimer;
		animationTimer = NULL;
	}
}
Пример #2
0
void VizFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
{

	cleanupThreads();

	// true is to force the frame to close
	Close(true);
}
Пример #3
0
ThreadPoolWithSignals::~ThreadPoolWithSignals()
{
    cleanupThreads();
}