Cygwin: FIFO: fix fifo_client_handler::close
Make sure that fhandler_base::close rather than fhandler_fifo::close is called on the fhandler. Also, delete the fhandler, since we allocated it.
This commit is contained in:
		
							parent
							
								
									d243b3c70e
								
							
						
					
					
						commit
						3ef03376c5
					
				|  | @ -809,7 +809,10 @@ fifo_client_handler::close () | |||
|   int res = 0; | ||||
| 
 | ||||
|   if (fh) | ||||
|     res = fh->close (); | ||||
|     { | ||||
|       res = fh->fhandler_base::close (); | ||||
|       delete fh; | ||||
|     } | ||||
|   if (connect_evt) | ||||
|     CloseHandle (connect_evt); | ||||
|   if (dummy_evt) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue