mirror of https://github.com/BOINC/boinc.git
MGR: Fix a problem where OS X's software firewall can cause RPC authorization to fail.
This commit is contained in:
parent
41068fb802
commit
836e491d96
|
@ -509,10 +509,12 @@ wxMenu *CTaskBarIcon::BuildContextMenu() {
|
|||
wxASSERT(wxDynamicCast(pSkinAdvanced, CSkinAdvanced));
|
||||
|
||||
// Prevent recursive entry of CMainDocument::RequestRPC()
|
||||
if (!pDoc->WaitingForRPC()) {
|
||||
// Account managers have a different menu arrangement
|
||||
pDoc->rpc.acct_mgr_info(ami);
|
||||
is_acct_mgr_detected = ami.acct_mgr_url.size() ? true : false;
|
||||
if (!pDoc->WaitingForRPC()) {
|
||||
if (pDoc->IsConnected()) {
|
||||
// Account managers have a different menu arrangement
|
||||
pDoc->rpc.acct_mgr_info(ami);
|
||||
is_acct_mgr_detected = ami.acct_mgr_url.size() ? true : false;
|
||||
}
|
||||
}
|
||||
|
||||
if (is_acct_mgr_detected) {
|
||||
|
|
Loading…
Reference in New Issue