From 5f54726d03f9dbecc006e4f7dfbfd4bd006a2b88 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Wed, 22 Mar 2017 00:06:02 -0700 Subject: [PATCH] http: Add an additional cancel check. --- UI/RemoteISOScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/RemoteISOScreen.cpp b/UI/RemoteISOScreen.cpp index 2ae6a6dfb6..690b06ad9b 100644 --- a/UI/RemoteISOScreen.cpp +++ b/UI/RemoteISOScreen.cpp @@ -211,8 +211,8 @@ static bool FindServer(std::string &resultHost, int &resultPort) { } } - //don't scan if in manual mode - if (g_Config.bRemoteISOManual) { + // Don't scan if in manual mode. + if (g_Config.bRemoteISOManual || scanCancelled) { return false; }