r2433 - isis-fish/trunk/src/main/java/fr/ifremer/isisfish/simulator/launcher
Author: chatellier Date: 2009-06-25 13:28:08 +0000 (Thu, 25 Jun 2009) New Revision: 2433 Modified: isis-fish/trunk/src/main/java/fr/ifremer/isisfish/simulator/launcher/SimulationMonitor.java Log: Fix fixme label Modified: isis-fish/trunk/src/main/java/fr/ifremer/isisfish/simulator/launcher/SimulationMonitor.java =================================================================== --- isis-fish/trunk/src/main/java/fr/ifremer/isisfish/simulator/launcher/SimulationMonitor.java 2009-06-25 13:12:33 UTC (rev 2432) +++ isis-fish/trunk/src/main/java/fr/ifremer/isisfish/simulator/launcher/SimulationMonitor.java 2009-06-25 13:28:08 UTC (rev 2433) @@ -206,7 +206,7 @@ } } - // FIXME date + // FIXME date remove simulation that are older than a week ? // re add simulation in try { @@ -538,7 +538,14 @@ // close storage after simulation // and after all post actions try { - simulation.closeStorage(); + if (simulation != null) { + simulation.closeStorage(); + simulation.closeMemStorage(); + } + if (job.getItem() != null && job.getItem().getParameter() != null && job.getItem().getParameter().getRegion() != null) { + job.getItem().getParameter().getRegion().closeStorage(); + job.getItem().getParameter().getRegion().closeMemStorage(); + } } catch (TopiaException e) { if (log.isErrorEnabled()) { log.debug("Can't close simulation storage", e);
participants (1)
-
chatellierï¼ users.labs.libre-entreprise.org