-
-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(linter): fix import plugin hanging when ignored modules are impor…
…ted (#2478) `ModuleMap` needs to save all ignored modules, the cache will wait for forever otherwise. For example, previously when `.json` modules is imported, `init_cache_state` will lock the thread forever because there are no code path that lead `update_cache_state` to release the lock.
- Loading branch information
Showing
1 changed file
with
44 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters