Skip to content

Commit

Permalink
Fix invalid cast exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Waty committed Nov 2, 2015
1 parent 6925ccd commit f70e0e6
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 f70e0e6

Please sign in to comment.