File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/github/maiqingqiang/goormhelper/startup Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11package com .github .maiqingqiang .goormhelper .startup ;
22
33import com .github .maiqingqiang .goormhelper .services .GoORMHelperCacheManager ;
4+ import com .intellij .openapi .application .ReadAction ;
45import com .intellij .openapi .project .DumbAware ;
56import com .intellij .openapi .project .Project ;
67import com .intellij .openapi .startup .StartupActivity ;
7- import com .intellij .openapi .startup .StartupManager ;
88import org .jetbrains .annotations .NotNull ;
99
1010public class GoORMHelperStartupActivity implements StartupActivity , DumbAware {
1111 @ Override
1212 public void runActivity (@ NotNull Project project ) {
13- StartupManager . getInstance ( project ). runAfterOpened (() -> GoORMHelperCacheManager .getInstance (project ).scan ());
13+ ReadAction . run (() -> GoORMHelperCacheManager .getInstance (project ).scan ());
1414 }
1515}
You can’t perform that action at this time.
0 commit comments