Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87
This commit is contained in:
@@ -344,7 +344,7 @@ class ExtensionWrapper {
|
||||
this.state = "unloading";
|
||||
|
||||
if (this.addon) {
|
||||
this.addon.uninstall();
|
||||
await this.addon.uninstall();
|
||||
} else {
|
||||
await this.extension.shutdown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user