From 5b308a6d139702ae9e81f19592e4be46f99280fc Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 30 Jul 2008 15:17:11 +0000 Subject: [PATCH] MGR: async GUI RPCs: Bug fixes. svn path=/workspaces/charlief/; revision=15712 --- checkin_notes | 1 + clientgui/BOINCDialupManager.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 18e9f1cbab..ac3d0d2112 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6162,3 +6162,4 @@ Charlie 30 July 2008 sg_BoincSimpleGUI.cpp BOINCBaseFrame.cpp BOINCGUIApp.h + BOINCDialupManager.cpp diff --git a/clientgui/BOINCDialupManager.cpp b/clientgui/BOINCDialupManager.cpp index 5bf4018759..e641b0f0a8 100644 --- a/clientgui/BOINCDialupManager.cpp +++ b/clientgui/BOINCDialupManager.cpp @@ -108,7 +108,7 @@ void CBOINCDialUpManager::OnPoll() { // We are ready to rock and roll. - if (!bAlreadyRunningLoop && pDoc) { + if (!bAlreadyRunningLoop && pDoc && pFrame) { wxASSERT(wxDynamicCast(pDoc, CMainDocument)); wxASSERT(wxDynamicCast(pFrame, CBOINCBaseFrame)); #if defined(__WXMSW__)