@@ -38,7 +38,6 @@ import { InnerObject, StandaloneLoadUnit, StandaloneLoadUnitType } from './Stand
3838import { StandaloneContext } from './StandaloneContext' ;
3939import { StandaloneContextHandler } from './StandaloneContextHandler' ;
4040import { ConfigSourceLoadUnitHook } from './ConfigSourceLoadUnitHook' ;
41- import { LoadUnitInnerClassHook } from './LoadUnitInnerClassHook' ;
4241import { DalTableEggPrototypeHook } from '@eggjs/tegg-dal-plugin/lib/DalTableEggPrototypeHook' ;
4342import { DalModuleLoadUnitHook } from '@eggjs/tegg-dal-plugin/lib/DalModuleLoadUnitHook' ;
4443import { MysqlDataSourceManager } from '@eggjs/tegg-dal-plugin/lib/MysqlDataSourceManager' ;
@@ -77,7 +76,6 @@ export class Runner {
7776 private dalModuleLoadUnitHook : DalModuleLoadUnitHook ;
7877 private transactionPrototypeHook : TransactionPrototypeHook ;
7978
80- private readonly loadUnitInnerClassHook : LoadUnitInnerClassHook ;
8179 private readonly crosscutAdviceFactory : CrosscutAdviceFactory ;
8280 private readonly loadUnitAopHook : LoadUnitAopHook ;
8381 private readonly eggPrototypeCrossCutHook : EggPrototypeCrossCutHook ;
@@ -155,9 +153,6 @@ export class Runner {
155153 const configSourceEggPrototypeHook = new ConfigSourceLoadUnitHook ( ) ;
156154 LoadUnitLifecycleUtil . registerLifecycle ( configSourceEggPrototypeHook ) ;
157155
158- this . loadUnitInnerClassHook = new LoadUnitInnerClassHook ( ) ;
159- LoadUnitLifecycleUtil . registerLifecycle ( this . loadUnitInnerClassHook ) ;
160-
161156 // TODO refactor with egg module
162157 // aop runtime
163158 this . crosscutAdviceFactory = new CrosscutAdviceFactory ( ) ;
@@ -270,10 +265,6 @@ export class Runner {
270265 LoadUnitLifecycleUtil . deleteLifecycle ( this . configSourceEggPrototypeHook ) ;
271266 }
272267
273- if ( this . loadUnitInnerClassHook ) {
274- LoadUnitLifecycleUtil . deleteLifecycle ( this . loadUnitInnerClassHook ) ;
275- }
276-
277268 if ( this . eggPrototypeCrossCutHook ) {
278269 EggPrototypeLifecycleUtil . deleteLifecycle ( this . eggPrototypeCrossCutHook ) ;
279270 }
0 commit comments