DEV-36893 make missing eventhost module a non-fatal error. We now print a warning and fail gracefully.

master
brad kittenbrink 2009-07-30 19:05:04 -07:00
parent 43cbfeb772
commit 8d35bf28a0
1 changed files with 6 additions and 0 deletions

View File

@ -4125,6 +4125,12 @@ void LLAppViewer::loadEventHostModule(S32 listen_port)
gDirUtilp->getAppRODataDir(),
gDirUtilp->getExecutableDir());
if(dso_path == "")
{
llwarns << "QAModeEventHost requested but module \"" << dso_name << "\" not found!" << llendl;
return;
}
apr_dso_handle_t * eventhost_dso_handle = NULL;
apr_pool_t * eventhost_dso_memory_pool = NULL;