mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 16:31:01 +00:00
Небольшая оптимизация по памяти: каждый пакет из WS удаляет старый пакет
This commit is contained in:
parent
8faa5bdc45
commit
595dc3b20f
@ -125,6 +125,7 @@ export default {
|
||||
},
|
||||
onGotNewStream(stream) {
|
||||
console.debug('got new stream from WS!', stream);
|
||||
this.streams.pop();
|
||||
this.streams.unshift(stream);
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user