Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Conversation

@StephaneGraziano
Copy link
Contributor

Doneness:

  • Build is okay - I made sure that this change is building successfully.
  • No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of.
  • Branching - If this is not a hotfix, I am making this request against the master branch

For an unknown reason, previous code with "continue" generated a memory leak on TcpServerConnection 'connection'. Removing continue helped to fix (an other way was to set connection=null). In any case, this code is easier to read and fix the memory leak.
As the leak was TcpServerConnection , CustomBufferedStream was also retained...

(Memory Leak was present with .net 4.5)

@justcoding121 justcoding121 merged commit 6e23775 into justcoding121:master Apr 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants