prevent possible crash in AudioClock setup

This commit is contained in:
Paul Davis 2020-11-19 17:11:34 -07:00
parent 62a62eaeb3
commit 734dc78ed5

View file

@ -950,7 +950,7 @@ AudioClock::set (samplepos_t when, bool force, samplecnt_t offset)
void
AudioClock::set_slave_info ()
{
if (!_with_info) {
if (!_with_info || !_session) {
return;
}