build number 5298 - Mail: Added missing stream closing in Smtp.Send(string filename) method.

0 votes
asked Jul 10, 2014 by happer (150 points)
edited Jul 11, 2014

In your recent release for version 2014 R2. You state you fixed the following: Mail: Added missing stream closing in Smtp.Send(string filename) method.

Can you tell me if this would have possibly been causing a memory leak due to open streams in 2014 R1?

Thanks

Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Jul 11, 2014 by Lukas Pokorny (102,250 points)
edited Jul 11, 2014

Not really. As soon as the .NET's garbage collector performs a collection of unused objects, the stream is closed and all its resources are freed.

If you were experiencing memory leaks in 2014 R1, please let us know.

...