File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -164,21 +164,12 @@ private static void DisposeIfNeeded(IJob job)
164164        /// </summary> 
165165        /// <param name="registries">Registries of jobs to run</param> 
166166        public  static   void  Initialize ( params  Registry [ ]  registries ) 
167-         { 
168-             InitializeWithoutStarting ( registries ) ; 
169-             Start ( ) ; 
170-         } 
171- 
172-         /// <summary> 
173-         /// Initializes the job manager with the jobs without starting it. 
174-         /// </summary> 
175-         /// <param name="registries">Registries of jobs to run</param> 
176-         public  static   void  InitializeWithoutStarting ( params  Registry [ ]  registries ) 
177167        { 
178168            if  ( registries  ==  null ) 
179169                throw  new  ArgumentNullException ( "registries" ) ; 
180170
181171            CalculateNextRun ( registries . SelectMany ( r =>  r . Schedules ) ) . ToList ( ) . ForEach ( RunJob ) ; 
172+             Start ( ) ; 
182173        } 
183174
184175        /// <summary> 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments