Skip to content

Commit 9a0a878

Browse files
committed
fix: Stack overflow while disposing stream
1 parent bb88151 commit 9a0a878

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/GZCTF/Utils/RecordableNetworkStream.cs

+1-9
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,9 @@ protected override void Dispose(bool disposing)
113113
if (!_disposed)
114114
{
115115
base.Dispose(disposing);
116-
117-
Close();
118116
_device?.Dispose();
119117
}
120118

121119
_disposed = true;
122120
}
123-
124-
public override void Close()
125-
{
126-
base.Close();
127-
_device?.Close();
128-
}
129-
}
121+
}

0 commit comments

Comments
 (0)