fix graph not reloading on completion in some cases
This commit is contained in:
		
							parent
							
								
									3951b9e521
								
							
						
					
					
						commit
						50fc5176a6
					
				@ -586,6 +586,7 @@ class Scanner:
 | 
			
		||||
            if self.status in [ScanStatus.FINALIZING, ScanStatus.COMPLETED, ScanStatus.STOPPED]:
 | 
			
		||||
                print(f"\n=== PHASE 2: Running correlation analysis ===")
 | 
			
		||||
                self._run_correlation_phase(max_depth, processed_tasks)
 | 
			
		||||
                self._update_session_state()
 | 
			
		||||
 | 
			
		||||
            # Determine the final status *after* finalization.
 | 
			
		||||
            if self._is_stop_requested():
 | 
			
		||||
 | 
			
		||||
@ -855,7 +855,7 @@ class DNScopeApp {
 | 
			
		||||
                
 | 
			
		||||
                // Do final graph update when scan completes
 | 
			
		||||
                console.log('Scan completed - performing final graph update');
 | 
			
		||||
                setTimeout(() => this.updateGraph(), 100);
 | 
			
		||||
                setTimeout(() => this.updateGraph(), 1000);
 | 
			
		||||
                break;
 | 
			
		||||
                
 | 
			
		||||
            case 'failed':
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user