#2961 closed defect (done)

Hive slave does not properly unload plugins

Reported by: jkarder Owned by: jkarder
Priority: high Milestone: HeuristicLab 3.3.16
Component: Hive.Slave Version: trunk
Keywords: Cc:


Plugins provide an OnUnload method which can be used to execute cleanup code. When shutting down an AppDomain that has been created for a specific task, the slave currently does not call OnUnload for any loaded plugin.

Change History (6)

comment:1 Changed 20 months ago by ddorfmei

  • Priority changed from medium to high

Running the HeuristicLab.OrTools plugin on the Hive requires this bug to be fixed.

comment:2 Changed 18 months ago by gkronber

Please note that are not able to unload native assemblies. Therefore, the hive client cannot delete native .dlls after closing the AppDomain for the job because the .dll is still in use.

comment:3 Changed 17 months ago by jkarder

  • Status changed from new to accepted

comment:4 Changed 17 months ago by jkarder

  • Owner changed from jkarder to gkronber
  • Status changed from accepted to reviewing
  • Version set to trunk

r16909: fixed unloading of plugins in SandboxApplicationManager

  • unload plugins once an application has been terminated (as before)
  • unload plugins once the application domain is about to be unloaded

comment:5 Changed 16 months ago by gkronber

  • Owner changed from gkronber to jkarder
  • Status changed from reviewing to readytorelease

Reviewed r16909.

comment:6 Changed 16 months ago by jkarder

  • Resolution set to done
  • Status changed from readytorelease to closed

r16989: merged r16909 into stable

Note: See TracTickets for help on using tickets.