Fix crash when using exclusive Mixbus listen

This commit is contained in:
Robin Gareus 2021-03-24 19:16:31 +01:00
parent 830f76bdce
commit b174326228
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -101,7 +101,7 @@ Session::prepare_momentary_solo (SoloMuteRelease* smr, bool exclusive, boost::sh
for (RouteList::const_iterator i = routes->begin(); i != routes->end(); ++i) {
#ifdef MIXBUS
if ((0 == route->mixbus()) != (0 == (*i)->mixbus ())) {
if (route && (0 == route->mixbus()) != (0 == (*i)->mixbus ())) {
continue;
}
#endif