[Perf] reduce memory usage by freeing playlist videos when playlist view is closed
This commit is contained in:
1 parent
0da51937f7
commit
5fcd576fc7
4 files changed
+7
-1
No files matched your search
@@ -556,6 +556,8 @@ namespace Invidious
|
||||
end if
|
||||
|
||||
json.type = "playlist"
|
||||
' Since we only want the playlist info, we can remove the videos array
|
||||
json.Delete("videos")
|
||||
return {
|
||||
items: [json]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user