commit | 47cc6dcf917c44fdac24e0ca16c2b758cde3bd85 | [log] [download] |
---|---|---|
author | vilaca <jvilaca@gmail.com> | Thu Jun 20 20:53:23 2013 +0100 |
committer | vilaca <jvilaca@gmail.com> | Thu Jun 20 20:53:23 2013 +0100 |
tree | 04005c3a715d2fcb56bc4cb7e26cff1bcd8dc7d2 | |
parent | 00797e2798e1cc0ff3762ffe285c610fe70bf380 [diff] |
(fix) closing response before response output stream had finished work cause an exception
diff --git a/RemoteView/Server.cs b/RemoteView/Server.cs index b4d3724..eb88687 100644 --- a/RemoteView/Server.cs +++ b/RemoteView/Server.cs
@@ -100,12 +100,12 @@ { if (response != null) { - response.Close(); try { if (output != null) output.Close(); } catch { } + response.Close(); } } }