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

Unified Diff: pkg/analysis_server/lib/src/analysis_server.dart

Issue 2567113003: Send errors notification without delay. (Closed)
Patch Set: Created 4 years 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 | « no previous file | pkg/analysis_server/test/integration/analysis/update_content_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/analysis_server.dart
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
index 3d1e63cc4bd6d1b61e6f265537a5dd43ce47660f..283e662eb4004170ac41211bb8d2641feedc069f 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -1832,9 +1832,7 @@ class ServerContextManagerCallbacks extends ContextManagerCallbacks {
result.unit != null) {
analysisServer.priorityFileResults[result.path] = result;
}
- _runDelayed(() {
- new_sendErrorNotification(analysisServer, result);
- });
+ new_sendErrorNotification(analysisServer, result);
String path = result.path;
CompilationUnit unit = result.unit;
if (unit != null) {
« no previous file with comments | « no previous file | pkg/analysis_server/test/integration/analysis/update_content_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698