From 16d0f7350926d0dc7f99bce157f16dbe3cb746ef Mon Sep 17 00:00:00 2001 From: redhoodsu Date: Mon, 12 Dec 2022 08:24:13 +0800 Subject: [PATCH] release: v2.8.2 --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/eruda.js | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f234c6a0..738817a6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.8.2 (12 Dec 2022) + +* fix: some variables not reset when destroy + ## 2.8.1 (12 Dec 2022) * fix: remove luna syntax highlighter diff --git a/package.json b/package.json index 98cc6e22d..42ba8e130 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eruda", - "version": "2.8.1", + "version": "2.8.2", "description": "Console for Mobile Browsers", "main": "eruda.js", "browserslist": [ diff --git a/src/eruda.js b/src/eruda.js index bf71ac0f8..33939a487 100644 --- a/src/eruda.js +++ b/src/eruda.js @@ -106,6 +106,8 @@ export default { $(this._container).remove() evalCss.clear() this._isInit = false + this._container = null + this._shadowRoot = null }, scale(s) { if (isNum(s)) {