mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-22 01:05:53 -05:00
Prevent crashes in case obs_module_text() is called during shutdown
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
|
||||
const char *obs_module_text(const char *text)
|
||||
{
|
||||
if (!switcher) {
|
||||
return "";
|
||||
}
|
||||
return switcher->translate(text);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user