Skip to content

Commit

Permalink
Fix crash when saving formerly empty track used as target in CopyMeta…
Browse files Browse the repository at this point in the history
…dataTo [#243]
  • Loading branch information
Zeugma440 committed Jan 4, 2024
1 parent 9a179e9 commit bd7f2b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ATL/Entities/Track.cs
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,12 @@ protected void Update(bool onlyReadEmbeddedPictures = false)
if (currentEmbeddedPictures != null)
{
currentEmbeddedPictures.Clear();
initialEmbeddedPictures.Clear();
currentEmbeddedPictures = null;
}

if (initialEmbeddedPictures != null)
{
initialEmbeddedPictures.Clear();
initialEmbeddedPictures = null;
}

Expand Down

0 comments on commit bd7f2b5

Please sign in to comment.