diff --git a/testing/marionette/client/marionette_driver/addons.py b/testing/marionette/client/marionette_driver/addons.py index de0fbc08185..86bf2b48835 100644 --- a/testing/marionette/client/marionette_driver/addons.py +++ b/testing/marionette/client/marionette_driver/addons.py @@ -66,6 +66,7 @@ class Addons(object): }, onInstalled: function(addon) { + AddonManager.removeAddonListener(listener); marionetteScriptFinished([addon.id, 0]); } }