MCPcopy Index your code
hub / github.com/darkreader/darkreader / cleanModificationCache

Function cleanModificationCache

src/inject/dynamic-theme/modify-css.ts:775–783  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

773}
774
775export function cleanModificationCache(): void {
776 clearColorModificationCache();
777 imageDetailsCache.clear();
778 cleanImageProcessingCache();
779 awaitingForImageLoading.clear();
780 imageSelectorQueue.clear();
781 classObserver?.disconnect();
782 classObserver = null;
783}

Callers 1

cleanDynamicThemeCacheFunction · 0.90

Calls 4

disconnectMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected