From a625ba8a0976ef8417a2609700187c5633be2c58 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 23 Apr 2015 11:46:22 -0700 Subject: Remove Map::start/stop Both Android and iOS now use pause/resume. The map thread is always running, and be able to receive messages. When paused, it will just refuse to render. --- macosx/main.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx') diff --git a/macosx/main.mm b/macosx/main.mm index add7631893..28d78e442a 100644 --- a/macosx/main.mm +++ b/macosx/main.mm @@ -133,7 +133,7 @@ int main() { // Load style map.setStyleURL("asset://styles/bright-v7.json"); - int ret = view.run(); + view.run(); [reachability stopNotifier]; @@ -146,5 +146,5 @@ int main() { settings.debug = map.getDebug(); settings.save(); - return ret; + return 0; } -- cgit v1.2.1