refresh_process_specifics
This commit is contained in:
		
							parent
							
								
									b407893db5
								
							
						
					
					
						commit
						67ee3a5a67
					
				| @ -511,7 +511,7 @@ pub fn start_os_service() { | |||||||
|                 std::process::exit(0); |                 std::process::exit(0); | ||||||
|             } |             } | ||||||
|             // only refresh this pid and check if valid, no need to refresh all processes since refreshing all is expensive, about 10ms on my machine
 |             // only refresh this pid and check if valid, no need to refresh all processes since refreshing all is expensive, about 10ms on my machine
 | ||||||
|             if !sys.refresh_process(pid) { |             if !sys.refresh_process_specifics(pid, ProcessRefreshKind::new()) { | ||||||
|                 server = None; |                 server = None; | ||||||
|                 continue; |                 continue; | ||||||
|             } |             } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user