fixup! Bug 1336124 - Rename sessionTeardown to deleteSession; r?maja_zf draft
authorAndreas Tolfsen <ato@mozilla.com>
Fri, 03 Feb 2017 16:53:24 +0000
changeset 470393 bd9ac8f993619bf40ab777a1d1598995c9668ccf
parent 470392 526d4a88097befa51aa48c1776fa8c2d86fb9675
child 470394 b3c256e881a5ee2e69527cdde960fd12f0cc29d7
push id44004
push userbmo:ato@mozilla.com
push dateFri, 03 Feb 2017 16:55:24 +0000
reviewersmaja_zf
bugs1336124
milestone54.0a1
fixup! Bug 1336124 - Rename sessionTeardown to deleteSession; r?maja_zf
testing/marionette/dispatcher.js
--- a/testing/marionette/dispatcher.js
+++ b/testing/marionette/dispatcher.js
@@ -52,17 +52,17 @@ this.Dispatcher = function (connId, tran
   this.commands_ = new Map();
 };
 
 /**
  * Debugger transport callback that cleans up
  * after a connection is closed.
  */
 Dispatcher.prototype.onClosed = function (reason) {
-  this.driver.sessionTearDown();
+  this.driver.deleteSession();
   if (this.onclose) {
     this.onclose(this);
   }
 };
 
 /**
  * Callback that receives data packets from the client.
  *