mirror of https://github.com/BOINC/boinc.git
- MGR: Fix the crash on linux when BOINC Manager is shut down.
(Patch from Michael Roberts) clientgui/ AdvancedFrame.cpp svn path=/trunk/boinc/; revision=14789
This commit is contained in:
parent
e59586a93a
commit
4937c0dcf1
|
@ -1619,3 +1619,10 @@ David Feb 25 2008
|
|||
|
||||
clientgui/
|
||||
MainDocument.cpp
|
||||
|
||||
Rom Feb 25 2008
|
||||
- MGR: Fix the crash on linux when BOINC Manager is shut down.
|
||||
(Patch from Michael Roberts)
|
||||
|
||||
clientgui/
|
||||
AdvancedFrame.cpp
|
||||
|
|
|
@ -283,16 +283,19 @@ CAdvancedFrame::~CAdvancedFrame() {
|
|||
if (m_pRefreshStateTimer) {
|
||||
m_pRefreshStateTimer->Stop();
|
||||
delete m_pRefreshStateTimer;
|
||||
m_pRefreshStateTimer = NULL;
|
||||
}
|
||||
|
||||
if (m_pFrameRenderTimer) {
|
||||
m_pFrameRenderTimer->Stop();
|
||||
delete m_pFrameRenderTimer;
|
||||
m_pFrameRenderTimer = NULL;
|
||||
}
|
||||
|
||||
if (m_pFrameListPanelRenderTimer) {
|
||||
m_pFrameListPanelRenderTimer->Stop();
|
||||
delete m_pFrameListPanelRenderTimer;
|
||||
m_pFrameListPanelRenderTimer = NULL;
|
||||
}
|
||||
|
||||
if (m_pStatusbar)
|
||||
|
@ -2120,7 +2123,7 @@ void CAdvancedFrame::UpdateRefreshTimerInterval( wxInt32 iCurrentNotebookPage )
|
|||
pView = wxDynamicCast(pwndNotebookPage, CBOINCBaseView);
|
||||
wxASSERT(pView);
|
||||
|
||||
if (m_pFrameListPanelRenderTimer->IsRunning()) {
|
||||
if (m_pFrameListPanelRenderTimer && m_pFrameListPanelRenderTimer->IsRunning()) {
|
||||
m_pFrameListPanelRenderTimer->Stop();
|
||||
|
||||
// View specific refresh rates only apply when a connection to the core
|
||||
|
|
Loading…
Reference in New Issue