summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_core/src/langpack.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mir_core/src/langpack.cpp b/src/mir_core/src/langpack.cpp
index 4c54fa338a..e0bb528f82 100644
--- a/src/mir_core/src/langpack.cpp
+++ b/src/mir_core/src/langpack.cpp
@@ -147,7 +147,13 @@ static const MUUID* GetMuid(HPLUGIN pPlugin)
if (!pPlugin)
return nullptr;
- return &pPlugin->getInfo().uuid;
+ __try {
+ return &pPlugin->getInfo().uuid;
+ }
+ __except (EXCEPTION_EXECUTE_HANDLER)
+ {
+ return nullptr;
+ }
}
static int SortLangPackHashesProc(LangPackEntry *arg1, LangPackEntry *arg2)