Dispose XMLReader in SessionLogReader

Advertisement

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Dispose XMLReader in SessionLogReader

Thanks for your hint.
Is there any reason you consider it that important? Apart from being a good practice?

Reply with quote

sessile.fielder

Nope, I don't think it's important at all since you're already disposing the stream it's using, but it is good practice. I was just going through the source to try to understand some things better and noticed it.

Reply with quote

Advertisement

You can post new topics in this forum