mirror of https://github.com/BOINC/boinc.git
MGR: Fix bugs when connection to client is lost or reestablished under async GUI RPCs
svn path=/trunk/boinc/; revision=15986
This commit is contained in:
parent
6ef4515e62
commit
f5a137ffd5
|
@ -737,12 +737,14 @@ void CMainDocument::HandleCompletedRPC() {
|
|||
}
|
||||
|
||||
if ( (crr_event) && (crr_event != (wxEvent*)-1) ) {
|
||||
if (crr_eventHandler) {
|
||||
crr_eventHandler->ProcessEvent(*crr_event);
|
||||
} else {
|
||||
if (pFrame) {
|
||||
wxASSERT(wxDynamicCast(pFrame, CBOINCBaseFrame));
|
||||
pFrame->ProcessEvent(*crr_event);
|
||||
if (!retval) {
|
||||
if (crr_eventHandler) {
|
||||
crr_eventHandler->ProcessEvent(*crr_event);
|
||||
} else {
|
||||
if (pFrame) {
|
||||
wxASSERT(wxDynamicCast(pFrame, CBOINCBaseFrame));
|
||||
pFrame->ProcessEvent(*crr_event);
|
||||
}
|
||||
}
|
||||
}
|
||||
delete crr_event;
|
||||
|
|
Loading…
Reference in New Issue