Index: pkg/analysis_server/lib/src/domain_analysis.dart |
diff --git a/pkg/analysis_server/lib/src/domain_analysis.dart b/pkg/analysis_server/lib/src/domain_analysis.dart |
index 11ea4f54da7df4570a65cfd43b44df02f6e22853..ba5c7031143f179b9a326b65dcfa9e0bb077ee88 100644 |
--- a/pkg/analysis_server/lib/src/domain_analysis.dart |
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart |
@@ -298,11 +298,10 @@ class AnalysisDomainHandler extends AbstractRequestHandler { |
server.reanalyze(rootResources); |
} |
// |
- // Forward the request to the plugins. |
+ // Restart all of the plugins. This is an async operation that will happen |
+ // in the background. |
// |
- RequestConverter converter = new RequestConverter(); |
- server.pluginManager |
- .broadcastRequest(converter.convertAnalysisReanalyzeParams(params)); |
+ server.pluginManager.restartPlugins(); |
// |
// Send the response. |
// |