summaryrefslogtreecommitdiff
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/main.mm5
1 files changed, 0 insertions, 5 deletions
diff --git a/macosx/main.mm b/macosx/main.mm
index 472799d996..3f35b875b6 100644
--- a/macosx/main.mm
+++ b/macosx/main.mm
@@ -227,7 +227,6 @@ public:
};
MapView *mapView;
-NSOperationQueue *queue;
namespace llmr {
namespace platform {
@@ -240,10 +239,6 @@ void restart() {
}
void request_http(std::string url, std::function<void(Response&)> background_function, std::function<void()> foreground_callback) {
- if (!queue) {
- queue = [NSOperationQueue new];
- }
-
NSMutableURLRequest *urlRequest = [NSMutableURLRequest
requestWithURL:[NSURL
URLWithString:@(url.c_str())]];