This is an automated email from the git hooks/post-receive script. New commit to branch support/3.13.x in repository tutti. See http://git.codelutin.com/tutti.git commit def4911b4953b1e758380bff3b95feaaa3cc9aa6 Author: Tony CHEMIT <chemit@codelutin.com> Date: Mon Mar 9 15:50:45 2015 +0100 fixes #6799: [TECH] Problème de fermeture de l'écran résumé --- .../content/operation/catches/EditCatchesSvgHandler.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesSvgHandler.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesSvgHandler.java index 485a17f..c99e5c4 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesSvgHandler.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/operation/catches/EditCatchesSvgHandler.java @@ -306,10 +306,18 @@ public class EditCatchesSvgHandler { if (canvas != null) { UpdateManager updateManager = canvas.getUpdateManager(); - if (updateManager != null) { - updateManager.suspend(); + if (updateManager != null ) { + try { + updateManager.suspend(); + } catch (Exception e) { + // FIXME Should not come here, but still can happen... + } + } + try { + canvas.dispose(); + } catch (Exception e) { + // FIXME Should not come here, but still can happen... } - canvas.dispose(); ui.getSvgCanvasPanel().remove(canvas); } } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.