[DDC] Renamed captureHotReloadEndHandler to capturedHotReloadEndHandler
Keeping it consistent with capturedMainHandler. Change-Id: I9fd05321fd6a49811739a8d07fa0e27558f03f27 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/429541 Commit-Queue: Srujan Gaddam <srujzs@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com> Auto-Submit: Srujan Gaddam <srujzs@google.com>
This commit is contained in:
committed by
Commit Queue
parent
640d9a760f
commit
55c5febc6a
@@ -1618,9 +1618,9 @@ if (!self.deferred_loader) {
|
||||
);
|
||||
}
|
||||
await Promise.all(reloadFilePromises).then((_) => {
|
||||
if (dartDevEmbedderConfig.captureHotReloadEndHandler != null) {
|
||||
if (dartDevEmbedderConfig.capturedHotReloadEndHandler != null) {
|
||||
// Let the app decide when to update the libraries.
|
||||
dartDevEmbedderConfig.captureHotReloadEndHandler(() => {
|
||||
dartDevEmbedderConfig.capturedHotReloadEndHandler(() => {
|
||||
this.hotReloadEnd();
|
||||
});
|
||||
} else {
|
||||
@@ -2069,7 +2069,7 @@ if (!self.deferred_loader) {
|
||||
* `DartDevEmbedder.hotReload` when called.
|
||||
* @type {?function(function())}
|
||||
*/
|
||||
captureHotReloadEndHandler = null;
|
||||
capturedHotReloadEndHandler = null;
|
||||
}
|
||||
|
||||
const dartDevEmbedderConfig = new DartDevEmbedderConfiguration();
|
||||
|
||||
Reference in New Issue
Block a user