• Stéphane Graziano's avatar
    clientStream were undisposed. · 715a26d3
    Stéphane Graziano authored
    ```------------------------
    //1st clientStream
    var clientStream = new CustomBufferedStream(clientConnection.GetStream(), BufferPool, BufferSize);
    sslStream = new SslStream(clientStream, false); //false => do not dispose 1st ClientStream
    //2nd clientStream
    clientStream = new CustomBufferedStream(sslStream, BufferPool, BufferSize);
    
    ...
    
    sslStream?.Dispose(); // dispose sslStream but not 1st ClientStream
    clientStream.Dispose(); // dispose 2nd ClientStream, sslStream (already disposed)
    //here 1st clientStream is not disposed
    ```
    
    ------------------------
    715a26d3
Name
Last commit
Last update
.build Loading commit data...
.nuget Loading commit data...
.vscode Loading commit data...
docs Loading commit data...
examples Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
PULL_REQUEST_TEMPLATE.md Loading commit data...
README.md Loading commit data...
_config.yml Loading commit data...
appveyor.yml Loading commit data...
build.bat Loading commit data...
omnisharp.json Loading commit data...
test.bat Loading commit data...