RobotStudio event

Memory management

Options

I'm just a bit confused about how to handle the memory in a PC SDK app.<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />

I open up the controller with those rows:

 

robControl = new Controller(GUID);

robControl.Logon(UserInfo.DefaultUser);

 

....and later on I finnish the session with:

 

Controller.ReleaseUnmanagedResources();

robControl.Logoff();

robControl.Dispose();

robControl = null;

 

The problem is that sometimes it seems to be some memory leaks:

[Output window]

[ControllerManager.OnProcessExit(->)]: 634002031191329528

[ControllerManager.OnProcessExit(<-)]: 634002031191485779

The program '[2516] HMI.exe: Managed' has exited with code 0 (0x0).

Perhaps I have missed something? 

Regards axel