File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Shared/Volantis.App/Cache Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 337
337
}
338
338
339
339
if (this.isSetup && this.Config[" flush_cache_on_exit" ]) {
340
- this.Service(" CacheManager" ).FlushCaches(false )
340
+ this.Service(" CacheManager" ).FlushCaches(false , false )
341
341
}
342
342
343
343
super.ExitApp()
Original file line number Diff line number Diff line change 254
254
} else if (btn == " OpenCacheDir" ) {
255
255
this.app.Service(" CacheManager" ).OpenCacheDir()
256
256
} else if (btn == " FlushCacheDir" ) {
257
- this.app.Service(" CacheManager" ).FlushCaches()
257
+ this.app.Service(" CacheManager" ).FlushCaches(true , true )
258
258
}
259
259
}
260
260
Original file line number Diff line number Diff line change 128
128
} else if (result == " ManageBackups" ) {
129
129
this.app.Service(" GuiManager" ).OpenWindow(" ManageBackupsWindow" )
130
130
} else if (result == " FlushCache" ) {
131
- this.app.Service(" CacheManager" ).FlushCaches()
131
+ this.app.Service(" CacheManager" ).FlushCaches(true , true )
132
132
} else if (result == " CleanLaunchers" ) {
133
133
this.app.Service(" BuilderManager" ).CleanLaunchers()
134
134
} else if (result == " ReloadLaunchers" ) {
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class FileCache extends CacheBase {
40
40
}
41
41
}
42
42
43
- FlushCacheAction () {
43
+ FlushCacheAction (force := false ) {
44
44
if (DirExist(this.cachePath)) {
45
45
DirDelete(this.cachePath, true )
46
46
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class ObjectCache extends CacheBase {
23
23
this.cacheObj.Delete (key)
24
24
}
25
25
26
- FlushCacheAction () {
26
+ FlushCacheAction (force := false ) {
27
27
this.cacheObj := Map()
28
28
return true
29
29
}
You can’t perform that action at this time.
0 commit comments