Fix view not cleaning some variables
This commit is contained in:
@@ -131,4 +131,11 @@ class ViewAssets{
|
||||
asset.changeBeatInterval(beatMS, initial)
|
||||
})
|
||||
}
|
||||
clean(){
|
||||
delete this.ctx
|
||||
delete this.don
|
||||
delete this.fire
|
||||
delete this.fireworks
|
||||
delete this.allAssets
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user