Merge pull request #413 from jl-cs/feature/app-sorting

Switch from writeJSON to write to possibly mitigate memory leak in writeJSON
master
Gordon Williams 2020-05-12 09:08:30 +01:00 committed by GitHub
commit e611505b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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() {