Updated Branches:
  refs/heads/develop 28e909749 -> 10670665c

Fix "Cannot delete temp directory" error.
Tested : the error does not appear anymore


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/fdf9fb61
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/fdf9fb61
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/fdf9fb61

Branch: refs/heads/develop
Commit: fdf9fb61b785a505149eb0325f98fe523dd1a4b5
Parents: 3863746
Author: mamsellem <[email protected]>
Authored: Fri Oct 25 00:28:23 2013 +0200
Committer: mamsellem <[email protected]>
Committed: Fri Oct 25 00:28:23 2013 +0200

----------------------------------------------------------------------
 installer/src/org/apache/flex/packageflexsdk/util/MD5CompareUtil.as | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/fdf9fb61/installer/src/org/apache/flex/packageflexsdk/util/MD5CompareUtil.as
----------------------------------------------------------------------
diff --git 
a/installer/src/org/apache/flex/packageflexsdk/util/MD5CompareUtil.as 
b/installer/src/org/apache/flex/packageflexsdk/util/MD5CompareUtil.as
index 9840b90..54dbcd4 100644
--- a/installer/src/org/apache/flex/packageflexsdk/util/MD5CompareUtil.as
+++ b/installer/src/org/apache/flex/packageflexsdk/util/MD5CompareUtil.as
@@ -178,6 +178,7 @@ public class MD5CompareUtil extends EventDispatcher
                {
                        if (event.type == Event.COMPLETE)
                        {
+                _fileStream.close();
                                _fileIsVerified = (_md5Stream.complete(data) == 
_remoteMD5Value);
                                
                                removeEventListeners();

Reply via email to