mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-07 00:56:00 -05:00
Fix crash while waiting for transition and no transition is selected
This commit is contained in:
@@ -20,6 +20,9 @@ static void waitForTransitionChange(OBSWeakSource &transition,
|
||||
{
|
||||
const auto time = 100ms;
|
||||
obs_source_t *source = obs_weak_source_get_source(transition);
|
||||
if (!source) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool stillTransitioning = true;
|
||||
while (stillTransitioning && !switcher->abortMacroWait &&
|
||||
|
||||
Reference in New Issue
Block a user