mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
prevent possible crash in AudioClock setup
This commit is contained in:
parent
62a62eaeb3
commit
734dc78ed5
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue