diff --git a/core/src/platform.cpp b/core/src/platform.cpp index 51f55f3de9..d74870265a 100644 --- a/core/src/platform.cpp +++ b/core/src/platform.cpp @@ -94,7 +94,9 @@ UrlRequestHandle Platform::startUrlRequest(Url _url, UrlCallback&& _callback) { } // Start Platform specific url request - entry->cancelable = startUrlRequestImpl(_url, handle, entry->id); + if (startUrlRequestImpl(_url, handle, entry->id)) { + entry->cancelable = true; + } return handle; }