Skip to content

Commit 6ca6def

Browse files
authored
Remove dispose check from Read() (#5)
1 parent cd5f999 commit 6ca6def

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

System.Device.UsbStream/UsbStream.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,6 @@ public override int Read(
113113
int offset,
114114
int count)
115115
{
116-
if (_disposed)
117-
{
118-
throw new ObjectDisposedException();
119-
}
120-
121116
return NativeRead(
122117
buffer,
123118
offset,

0 commit comments

Comments
 (0)