Memory leak

Issue #1 resolved
Andreas Pohl created an issue

Hi,

I experimenting with Factory-registrations. But I get "Unexpected Memory leak". I minimized the source code to the following Skeleton.

Comments (1)

  1. Stefan Glienke repo owner

    Thanks for your report.

    The memory leak is caused by your code in the initialization part of the MES4F.DSBOProxy.MaterialMaster unit. Please move that code into a routine which you can call in the initialization part.

    Also please consider the best practices to not put registration code into the initialization part of units.

    For reference: this entry

  2. Log in to comment