Bug 1134166 - Close toolbox if selected app dies. r=ochameau
authorJ. Ryan Stinnett <jryans@gmail.com>
Wed, 08 Apr 2015 04:09:42 -0500
changeset 238180 665b9fb029e19dae0fd4563227d975b6bdd2efa2
parent 238179 c8066e57077eef5e9909d814fc7b67ecf7b63e10
child 238181 698da9956e202e8d0829bab5eacda91c96b76bda
push id58133
push userryanvm@gmail.com
push dateWed, 08 Apr 2015 16:59:36 +0000
treeherdermozilla-inbound@8911c111a6ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1134166
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1134166 - Close toolbox if selected app dies. r=ochameau
browser/devtools/webide/content/webide.js
--- a/browser/devtools/webide/content/webide.js
+++ b/browser/devtools/webide/content/webide.js
@@ -186,16 +186,20 @@ let UI = {
         });
         return;
       case "project-started":
         this.updateCommands();
         projectList.update();
         UI.autoOpenToolbox();
         break;
       case "project-stopped":
+        UI.destroyToolbox();
+        this.updateCommands();
+        projectList.update();
+        break;
       case "runtime-global-actors":
         this.updateCommands();
         projectList.update();
         break;
       case "runtime-details":
         this.updateRuntimeButton();
         break;
       case "runtime":