Commit 5b31445a authored by Alvaro Huarte's avatar Alvaro Huarte Committed by Andrea Aime
Browse files

Avoid log about non existing memory leak

parent ac83abf8
/* (c) 2014 - 2015 Open Source Geospatial Foundation - all rights reserved
/* (c) 2014 - 2016 Open Source Geospatial Foundation - all rights reserved
* (c) 2001 - 2014 OpenPlans
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
......@@ -120,6 +120,7 @@ public class GetMap {
map = fireFinished(map);
return map;
} catch (Throwable t) {
mapContent.dispose();
fireFailed(t);
if(t instanceof RuntimeException) {
throw (RuntimeException) t;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment