Skip to content

Commit

Permalink
Merge pull request rdavisau#43 from Waty/dev
Browse files Browse the repository at this point in the history
Fix invalid cast exception
  • Loading branch information
rdavisau committed Nov 2, 2015
2 parents 6925ccd + f70e0e6 commit 5384645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sockets/Sockets.Implementation.NET/TcpSocketListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private void Dispose(bool disposing)
if (disposing)
{
if (_backingTcpListener != null)
((IDisposable)_backingTcpListener).Dispose();
_backingTcpListener.Stop();
}
}

Expand Down

0 comments on commit 5384645

Please sign in to comment.