Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
MapObject Dispose does not release TrueType font file handles (MapServer 6.2) #4551
Under C#, (Visual Studio 2010 32-bit) creating PNG or SVG output does not release TrueType file handles when mapObject is disposed. This problem presented itself using MapServer mapscript code under Windows IIS 7.5, it was tracked down to exhaustion of file handles; a work around was to "recycle" the worker processes to force file handle closure.
The heart of the problem is demonstrated by a small C# program that I can send, please email me (firstname.lastname@example.org) if you'd like it sent to you as a ZIP file including the VS2010 solution file and all DLLs.
This is very similar to a ticket closed six years ago, #2013 .
pushed a commit
Apr 9, 2013
Thomas, thanks for taking a look at the issue.
This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.
From: Thomas Bonfort [mailto:email@example.com]
my bad, this one was already in 6.2. sorry for the noise