#1042 closed defect (fixed)
Viewer template file streams not properly closed
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | AJAX Viewer | Version: | 2.0.2 |
Severity: | trivial | Keywords: | |
Cc: | brucedechant | External ID: |
Description
In MgDev/Web/src/mapviewernet/common.aspx:
The LoadTemplate() method does not close/dispose of the stream reader after reading the template contents.
This results in a dangling stream reader for each template request.
Will invetigate to see if other languages are affected too.
Change History (5)
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Should the .NET code change call Close() instead of Dispose()? Note: Close() calls Dispose() internally for the StreamReader.
comment:3 by , 15 years ago
Cc: | added |
---|
comment:4 by , 15 years ago
Just read MSDN docs, there are two overloads of Dispose() and Close() calls the correct one. I'll get this changed.
Note:
See TracTickets
for help on using tickets.
Fixed in trunk: r4070 Fixed in 2.1 branch: r4071