RAPID memory leak?

DanS
✭✭
I think there is a RAPID memory leak with the following when the record being searched for does not exist. Maybe someone can verify this and eventually fix?
RapidSymbolSearchProperties props = RapidSymbolSearchProperties.CreateDefaultForData(true);
props.LocalSymbols = false;
List<RapidSymbol> symbolsFound = new List<RapidSymbol>();
try
{
// This causes a leak in RAPID memory if the "myundefinedrecord" record isn't installed
symbolsFound.AddRange(this.Task.SearchRapidSymbol(props, "myundefinedrecord", ""));
}
catch
{
Controller.ReleaseUnmanagedResources();
return;
}
0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings