From 781d9f845a421b7cf04c3a1344a20637ba5f9e4e Mon Sep 17 00:00:00 2001 From: Marko Živković Date: Mon, 22 Dec 2014 15:05:55 +0000 Subject: Eliminated Resource Leak comming from old XLogo git-svn-id: https://svn.code.sf.net/p/xlogo4schools/svn/trunk@18 3b0d7934-f7ef-4143-9606-b51f2e2281fd --- logo/src/xlogo/utils/Utils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/logo/src/xlogo/utils/Utils.java b/logo/src/xlogo/utils/Utils.java index 3182bf7..5cf549f 100644 --- a/logo/src/xlogo/utils/Utils.java +++ b/logo/src/xlogo/utils/Utils.java @@ -316,6 +316,7 @@ public class Utils { sb.append("\n"); } txt=new String(sb); + brd.close(); } catch(FileNotFoundException e1){ // tentative fichier réseau -- cgit v1.2.3