File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/com/ss/editor/manager Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,9 @@ public synchronized void registerInterestedFileType(@NotNull final String fileEx
252252 @ Override
253253 @ FromAnyThread
254254 public synchronized void assetLoaded (@ NotNull final AssetKey key ) {
255+ if (key .getCacheType () == null ) {
256+ return ;
257+ }
255258
256259 final String extension = key .getExtension ();
257260 if (StringUtils .isEmpty (extension )) return ;
@@ -264,6 +267,9 @@ public synchronized void assetLoaded(@NotNull final AssetKey key) {
264267 @ Override
265268 @ FromAnyThread
266269 public synchronized void assetRequested (@ NotNull final AssetKey key ) {
270+ if (key .getCacheType () == null ) {
271+ return ;
272+ }
267273
268274 final String extension = key .getExtension ();
269275 if (StringUtils .isEmpty (extension )) return ;
You can’t perform that action at this time.
0 commit comments