зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1117067 - Destroy toolbox before disconnect. r=ochameau
This commit is contained in:
Родитель
46ad522230
Коммит
d52d067d08
|
@ -1232,7 +1232,11 @@ let Cmds = {
|
|||
},
|
||||
|
||||
disconnectRuntime: function() {
|
||||
return UI.busyUntil(AppManager.disconnectRuntime(), "disconnecting from runtime");
|
||||
let disconnecting = Task.spawn(function*() {
|
||||
yield UI.destroyToolbox();
|
||||
yield AppManager.disconnectRuntime();
|
||||
});
|
||||
return UI.busyUntil(disconnecting, "disconnecting from runtime");
|
||||
},
|
||||
|
||||
takeScreenshot: function() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче