summaryrefslogtreecommitdiffstats
path: root/toolkit/identity/tests/unit/tail_identity.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/identity/tests/unit/tail_identity.js')
-rw-r--r--toolkit/identity/tests/unit/tail_identity.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/toolkit/identity/tests/unit/tail_identity.js b/toolkit/identity/tests/unit/tail_identity.js
new file mode 100644
index 000000000..c263f8369
--- /dev/null
+++ b/toolkit/identity/tests/unit/tail_identity.js
@@ -0,0 +1,8 @@
+
+// pre-emptively shut down to clear resources
+if (typeof IdentityService !== "undefined") {
+ IdentityService.shutdown();
+} else if (typeof IDService !== "undefined") {
+ IDService.shutdown();
+}
+