Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/extension-runners/firefox-android.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,14 @@ export class FirefoxAndroidExtensionRunner {
// NOTE: running Firefox for Android on the Android Emulator can be
// pretty slow, we can run the following 3 steps in parallel to speed up
// it a bit.
// Call all the registered cleanup callbacks.
for (const fn of this.cleanupCallbacks) {
try {
fn();
} catch (error) {
log.error(error);
}
}
await Promise.all([
// Start Firefox for Android instance if not started yet.
// (Fennec would run in an temporary profile and so it is explicitly
Expand Down
6 changes: 5 additions & 1 deletion src/extension-runners/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,11 @@ export function defaultReloadStrategy(
setRawMode(stdin, true);
} else if (keyPressed.name === 'r') {
log.debug('Reloading installed extensions on user request');
extensionRunner.reloadAllExtensions();
extensionRunner.reloadAllExtensions()
.then(log.debug('Installed Extensions reloaded on user requesy'))
.catch(function(error) {
log.debug('Unable to reload installed extensions', error);
});
}
}

Expand Down