libobs: Profile win32 symbol update call

master
jp9000 2015-10-03 20:56:31 -07:00
parent 7a15068d96
commit b038ed8d1d
1 changed files with 5 additions and 0 deletions

View File

@ -230,13 +230,18 @@ static void load_all_callback(void *param, const struct obs_module_info *info)
}
static const char *obs_load_all_modules_name = "obs_load_all_modules";
#ifdef _WIN32
static const char *reset_win32_symbol_paths_name = "reset_win32_symbol_paths";
#endif
void obs_load_all_modules(void)
{
profile_start(obs_load_all_modules_name);
obs_find_modules(load_all_callback, NULL);
#ifdef _WIN32
profile_start(reset_win32_symbol_paths_name);
reset_win32_symbol_paths();
profile_end(reset_win32_symbol_paths_name);
#endif
profile_end(obs_load_all_modules_name);
}