Ticket #456: boinc_456.patch
File boinc_456.patch, 1.1 KB (added by , 17 years ago) |
---|
-
AdvancedFrame.cpp
283 283 if (m_pRefreshStateTimer) { 284 284 m_pRefreshStateTimer->Stop(); 285 285 delete m_pRefreshStateTimer; 286 m_pRefreshStateTimer = 0; 286 287 } 287 288 288 289 if (m_pFrameRenderTimer) { 289 290 m_pFrameRenderTimer->Stop(); 290 291 delete m_pFrameRenderTimer; 292 m_pFrameRenderTimer = 0; 291 293 } 292 294 293 295 if (m_pFrameListPanelRenderTimer) { 294 296 m_pFrameListPanelRenderTimer->Stop(); 295 297 delete m_pFrameListPanelRenderTimer; 298 m_pFrameListPanelRenderTimer = 0; 296 299 } 297 300 298 301 if (m_pStatusbar) … … 2120 2123 pView = wxDynamicCast(pwndNotebookPage, CBOINCBaseView); 2121 2124 wxASSERT(pView); 2122 2125 2123 if ( m_pFrameListPanelRenderTimer->IsRunning()) {2126 if ((m_pFrameListPanelRenderTimer) && (m_pFrameListPanelRenderTimer->IsRunning())) { 2124 2127 m_pFrameListPanelRenderTimer->Stop(); 2125 2128 2126 2129 // View specific refresh rates only apply when a connection to the core