fix graph not reloading on completion in some cases

This commit is contained in:
overcuriousity 2025-09-24 11:48:11 +02:00
parent 3951b9e521
commit 50fc5176a6
2 changed files with 2 additions and 1 deletions

View File

@ -586,6 +586,7 @@ class Scanner:
if self.status in [ScanStatus.FINALIZING, ScanStatus.COMPLETED, ScanStatus.STOPPED]: if self.status in [ScanStatus.FINALIZING, ScanStatus.COMPLETED, ScanStatus.STOPPED]:
print(f"\n=== PHASE 2: Running correlation analysis ===") print(f"\n=== PHASE 2: Running correlation analysis ===")
self._run_correlation_phase(max_depth, processed_tasks) self._run_correlation_phase(max_depth, processed_tasks)
self._update_session_state()
# Determine the final status *after* finalization. # Determine the final status *after* finalization.
if self._is_stop_requested(): if self._is_stop_requested():

View File

@ -855,7 +855,7 @@ class DNScopeApp {
// Do final graph update when scan completes // Do final graph update when scan completes
console.log('Scan completed - performing final graph update'); console.log('Scan completed - performing final graph update');
setTimeout(() => this.updateGraph(), 100); setTimeout(() => this.updateGraph(), 1000);
break; break;
case 'failed': case 'failed':