[Perf] reduce memory usage by freeing playlist videos when playlist view is closed

This commit is contained in:
Brahim Hadriche committed 2025-10-02 09:05:12 -04:00
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]
}