Skip to content

Commit

Permalink
Check if track container exists before deleting track from it
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Nov 27, 2024
1 parent 8fe0fb8 commit f8d545b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Track.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Track::~Track()
delete m_clips.back();
}

m_trackContainer->removeTrack( this );
if (m_trackContainer) { m_trackContainer->removeTrack(this); }
unlock();
}

Expand Down

0 comments on commit f8d545b

Please sign in to comment.