[Title] fix for pending in BufferedInputStream close method
authorJaewon Lim <jaewon81.lim@samsung.com>
Wed, 27 Jun 2012 06:28:37 +0000 (15:28 +0900)
committerJaewon Lim <jaewon81.lim@samsung.com>
Wed, 27 Jun 2012 06:28:37 +0000 (15:28 +0900)
[Type] bug fix
[Module] dynamic analyzer
[Priority] minor
[Jira#]
[Redmine#] 5485
[Problem]
[Cause]
[Solution]
[TestCase]

org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/threads/UIRecorderRecordThread.java [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 9798759..2b08633
@@ -69,14 +69,14 @@ public class UIRecorderRecordThread extends Thread {
     
     public void end(){
        try {
-               if( in != null){
-                       in.close();
-                       in = null;
-               }
                if( process != null){
                        process.destroy();
                        process = null;
                }
+               if( in != null){
+                       in.close();
+                       in = null;
+               }
                } catch (IOException e) {
                        e.printStackTrace();
                }