Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: utils/archive/input_stream.dart

Issue 11833032: Fix pub tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/async/future_impl.dart ('k') | utils/pub/system_cache.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/archive/input_stream.dart
diff --git a/utils/archive/input_stream.dart b/utils/archive/input_stream.dart
index 5f45fbd1d1cfea3d0487b641f4b3bcaebd738b8f..49b85036170499691cb7ddde6d4566b68107347c 100644
--- a/utils/archive/input_stream.dart
+++ b/utils/archive/input_stream.dart
@@ -153,8 +153,7 @@ class ArchiveInputStream {
}).then((_) {
if (entry.isInputOpen) return entry.inputComplete;
return new Future.immediate(null);
- });
- future.whenComplete(() {
+ }).whenComplete(() {
_currentEntry = null;
entry.close();
});
« no previous file with comments | « sdk/lib/async/future_impl.dart ('k') | utils/pub/system_cache.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698