Use case 1:
A connector is having an instanced QAction that keeps an object into an instanced variable.
Assuming the QAction is not using the IDispose, when exactly is this used memory cleared?
On element stop? On DataMiner restart?
Use case 2:
A connector is having a static QAction that keeps an object into a static variable.
This variable will be shared over multiple elements using this connector.
When exactly is this used memory cleared?
When all the elements are stopped? ...
Hi Brecht,
For the use case of the instanced QAction, the memory will be cleaned once the element is stopped/restarted.
For the use case of a static variable, it will be kept in memory during the lifetime of the SLScripting process, which, in normal circumstances, will only be cleared when DataMiner restarts.