Support Center

FaxMan4 C# library not disposing properly

David Vedvick May 28, 2013 09:18PM EDT

The FaxMan4 C# library is not disposing properly of it's handles on the FaxMan.db file, and the FaxMan4Exec and FaxMan4Done events when the "Dispose" method is called. I believe this is a bug.

2 Data Techniques Responses and 1 Community Responses

Up -3 Rated Down
DTI Support  Data Techniques Employee May 29, 2013 09:30AM EDT

Hi,

I've checked the code and it appears the Faxman .Net component does cleanup in its Dispose method.

Note that the faxman4.exe process will keep the faxman4.db open as well the two event objects are created by the Faxman process as well.
Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

Up 1 Rated Down
David Vedvick  Data Techniques Employee May 29, 2013 07:01PM EDT

I have come up with a little C# program that instantiates a new FaxMan object and then disposes it and sets it to null and shows the number of handles open by the application afterwards in an indefinite loop - it's currently at 30000+ handles. It leaves an additional three handles to those objects open each iteration. I can e-mail the source to you along with some screen shots of it in action if you want.

- Thanks
David

Up 1 Rated Down
DTI Support  Data Techniques Employee May 30, 2013 08:49AM EDT

Hi David,

Sure if you can send us that sample that would be great, please send it using www.dropsend.com which is a free file transfer service to support@data-tech.com and we'll have a look.

Thanks,
John
Data Techniques

This question is closed to new answers.

Contact Us