mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Remove usage of deleted function
This commit is contained in:
parent
a069451888
commit
80d9dc7c77
@ -784,10 +784,6 @@ function saveFramerate() {
|
|||||||
// unfortunately, objects with function instances (classes) are stripped of their function instances when converted to a raw object
|
// unfortunately, objects with function instances (classes) are stripped of their function instances when converted to a raw object
|
||||||
// so we cannot forget to revive the object after we load it.
|
// so we cannot forget to revive the object after we load it.
|
||||||
function saveHosts() {
|
function saveHosts() {
|
||||||
for(var hostUID in hosts) {
|
|
||||||
// slim the object down to only store the necessary bytes, because we have limited storage
|
|
||||||
hosts[hostUID]._prepareForStorage();
|
|
||||||
}
|
|
||||||
storeData('hosts', hosts, null);
|
storeData('hosts', hosts, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user