Clear extensions cache after extension repos change (#555)
This will force a refetch of the extensions the next time the list gets opened which will update the extensions on the server
This commit is contained in:
@@ -380,6 +380,10 @@ export class RequestManager {
|
||||
this.cache.clearFor(...cacheKeys);
|
||||
}
|
||||
|
||||
public clearExtensionCache() {
|
||||
this.cache.clearFor(this.cache.getKeyFor(EXTENSION_LIST_CACHE_KEY, undefined));
|
||||
}
|
||||
|
||||
private createAbortController(): { signal: AbortSignal } & AbortableRequest {
|
||||
const abortController = new AbortController();
|
||||
const abortRequest = (reason?: any): void => {
|
||||
|
||||
Reference in New Issue
Block a user