spelling: connection
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									5b3835d1fe
								
							
						
					
					
						commit
						51f736e84f
					
				| @ -407,7 +407,7 @@ pub mod server { | |||||||
|                                     } |                                     } | ||||||
|                                     ConnCount(Some(n)) => { |                                     ConnCount(Some(n)) => { | ||||||
|                                         if n == 0 { |                                         if n == 0 { | ||||||
|                                             log::info!("Connnection count equals 0, exit"); |                                             log::info!("Connection count equals 0, exit"); | ||||||
|                                             stream.send(&Data::DataPortableService(WillClose)).await.ok(); |                                             stream.send(&Data::DataPortableService(WillClose)).await.ok(); | ||||||
|                                             break; |                                             break; | ||||||
|                                         } |                                         } | ||||||
|  | |||||||
| @ -936,7 +936,7 @@ pub fn account_auth_result() -> String { | |||||||
|     serde_json::to_string(&account::OidcSession::get_result()).unwrap_or_default() |     serde_json::to_string(&account::OidcSession::get_result()).unwrap_or_default() | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // notice: avoiding create ipc connecton repeatly,
 | // notice: avoiding create ipc connection repeatly,
 | ||||||
| // because windows named pipe has serious memory leak issue.
 | // because windows named pipe has serious memory leak issue.
 | ||||||
| #[tokio::main(flavor = "current_thread")] | #[tokio::main(flavor = "current_thread")] | ||||||
| async fn check_connect_status_(reconnect: bool, rx: mpsc::UnboundedReceiver<ipc::Data>) { | async fn check_connect_status_(reconnect: bool, rx: mpsc::UnboundedReceiver<ipc::Data>) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user