Skip to content

Commit

Permalink
Minor correction issue #406
Browse files Browse the repository at this point in the history
  • Loading branch information
mariodivece committed Jun 25, 2019
1 parent 09495c1 commit c8e5968
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Unosquare.FFME/Primitives/CancellationTokenOwner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ private void Dispose(bool alsoManaged)
if (!m_IsDisposed)
{
if (alsoManaged)
{
TokenSource.Cancel();
TokenSource.Dispose();
}

m_IsDisposed = true;
}
Expand Down

0 comments on commit c8e5968

Please sign in to comment.