forked from MapComplete/MapComplete
Performance: sprinkle 'onDestroy' everywhere to cleanup old stores; cleanup 'Stores' utility class
This commit is contained in:
parent
66f093afd8
commit
81be4db044
79 changed files with 332 additions and 325 deletions
|
|
@ -81,7 +81,7 @@ export class ImageUploadManager {
|
|||
this._changes = changes
|
||||
this._gps = gpsLocation
|
||||
this._reportError = reportError
|
||||
Stores.Chronic(5 * 60000).addCallback(() => {
|
||||
Stores.chronic(5 * 60000).addCallback(() => {
|
||||
// If images failed to upload: attempt to reupload
|
||||
this.uploadQueue()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue