mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Return a copy of tasks array in getTasks method
This commit is contained in:
@@ -213,7 +213,7 @@ class UploadingManager extends Listenable {
|
||||
}
|
||||
|
||||
getTasks() {
|
||||
return this.tasks
|
||||
return Array.from(this.tasks)
|
||||
}
|
||||
|
||||
hasTasks() {
|
||||
|
Reference in New Issue
Block a user