Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
b109c284
Commit
b109c284
authored
Feb 09, 2021
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset staticAnalysis after deactivation
parent
64086a20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
analysis-tab.js
apps/remix-ide/src/app/tabs/analysis-tab.js
+3
-0
No files found.
apps/remix-ide/src/app/tabs/analysis-tab.js
View file @
b109c284
...
...
@@ -28,6 +28,9 @@ class AnalysisTab extends ViewPlugin {
}
render
()
{
const
listOfPlugins
=
localStorage
.
getItem
(
'workspace'
)
// Reset state if plugin is deactivated
if
(
!
listOfPlugins
.
includes
(
'solidityStaticAnalysis'
))
this
.
staticanalysis
=
null
if
(
!
this
.
staticanalysis
)
this
.
staticanalysis
=
new
StaticAnalysis
(
this
.
registry
,
this
)
this
.
staticanalysis
.
event
.
register
(
'staticAnaysisWarning'
,
(
count
)
=>
{
if
(
count
>
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment