From 8449e1c9464e14dd4d5d988a8349e4562d51c3ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andre=CC=81=20Moreau?= Date: Thu, 20 Nov 2014 12:34:49 -0500 Subject: [PATCH] mfreerdp: fix thread stopping --- client/Mac/MRDPView.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/Mac/MRDPView.m b/client/Mac/MRDPView.m index 4d963253b..42c6dbe2d 100644 --- a/client/Mac/MRDPView.m +++ b/client/Mac/MRDPView.m @@ -146,6 +146,9 @@ DWORD mac_client_input_thread(void* param) if (!status) break; } + + if (!status) + break; } ExitThread(0);