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