Hydra version 6.5.0.1295 Memory leak

Hi

in the last version (6.5.0.1295) of Hydra I detect these memory leaks

image

Hi,

Can you create a simple sample that reproduces this memory leak, pls?
you can drop email to support@ for keeping privacy.

Hi EvgenyK

I attach the Simple Visual example.

The only change I made is to make executable and plugin packages free by removing the HYGetModuleController export from the plugin

Best Regards

Simple Visual.zip (43.2 KB)

Logged as bugs://H1030.

bugs://H1030 was closed as fixed.

Hi,

pls update

  • Hydra.VCL.CrossPlatformPluginFactories.pas
destructor THYVCLCrossPlatformPluginFactory.Destroy;
begin
  fModule := nil;
  fDescriptor := nil; //added
  inherited;
end;
  • Hydra.Core.Module.pas
destructor THYCrossPlatformModule.Destroy;
..
  fCrossPlatformModuleController := nil;
  if (fModuleController <> nil) then fModuleController.Free; //added

after this, launch C:\Program Files (x86)\RemObjects Software\Build\install_HY.cmd with admin rights for recompiling Hydra packages

1 Like