Browse Source

Only shutdown external clients on link fail

branan 13 years ago
parent
commit
e6f3194833
  1. 2
      Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp

2
Sources/Plasma/PubUtilLib/plNetClient/plNetLinkingMgr.cpp

@ -167,8 +167,10 @@ void plNetLinkingMgr::NCAgeJoinerCallback (
if (!params->success) { if (!params->success) {
plNetClientMgr::StaticErrorMsg(params->msg); plNetClientMgr::StaticErrorMsg(params->msg);
hsMessageBox(params->msg, "Linking Error", hsMessageBoxNormal, hsMessageBoxIconError); hsMessageBox(params->msg, "Linking Error", hsMessageBoxNormal, hsMessageBoxIconError);
#ifdef PLASMA_EXTERNAL_RELEASE
plClientMsg* clientMsg = new plClientMsg(plClientMsg::kQuit); plClientMsg* clientMsg = new plClientMsg(plClientMsg::kQuit);
clientMsg->Send(hsgResMgr::ResMgr()->FindKey(kClient_KEY)); clientMsg->Send(hsgResMgr::ResMgr()->FindKey(kClient_KEY));
#endif
return; return;
} }

Loading…
Cancel
Save