fix: use "write" instead of "writeJSON" to mitigate possible memory leak
parent
ea2962a226
commit
9d48b5ddee
|
|
@ -201,7 +201,7 @@ function showSortAppsManually() {
|
|||
function setSortorder(app, val) {
|
||||
app = store.readJSON(app.id + '.info', 1);
|
||||
app.sortorder = val;
|
||||
store.writeJSON(app.id + '.info', app);
|
||||
store.write(app.id + '.info', JSON.stringify(app));
|
||||
}
|
||||
|
||||
function getAppsList() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue