| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| try | ||
| { | ||
| Stream openfilestream = File.OpenRead(path); | ||
| openfilestream = File.OpenRead(path); |
There was a problem hiding this comment.
How about 'using' instead?
Sorry, something went wrong.
|
I went with that approach first but with the catch statement it seemed to read better with try/catch/finally than try {using()} / catch. That said, I can certainly remove the finally and put a using statement inside the try. It's about six of one / half dozen the other. :-) |
Sorry, something went wrong.
|
LGTM. |
Sorry, something went wrong.
|
Keith Hill (@rkeithhill) looking at the entire file, keeping it try...finally is probably more consistent with other try...catch usage in this file, so LGTM |
Sorry, something went wrong.
|
Sure would be nice to get this fix into beta.4. Got some Plaster users on Linux who are hitting this bug. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fix #4174