mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	move scheduled task startup
This commit is contained in:
		
							parent
							
								
									3a9a16199d
								
							
						
					
					
						commit
						6961b4e5a8
					
				@ -88,8 +88,6 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks
 | 
			
		||||
            _fileSystem = fileSystem;
 | 
			
		||||
 | 
			
		||||
            ScheduledTasks = new IScheduledTaskWorker[] { };
 | 
			
		||||
 | 
			
		||||
            BindToSystemEvent();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private void BindToSystemEvent()
 | 
			
		||||
@ -259,6 +257,8 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks
 | 
			
		||||
            myTasks.AddRange(list.Select(t => new ScheduledTaskWorker(t, ApplicationPaths, this, JsonSerializer, Logger, _fileSystem)));
 | 
			
		||||
 | 
			
		||||
            ScheduledTasks = myTasks.ToArray();
 | 
			
		||||
 | 
			
		||||
            BindToSystemEvent();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user