From 536e0343c955180da850628cbe6282bfaf162321 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Wed, 19 Feb 2014 17:33:22 -0800 Subject: [PATCH] only post needs render notification on successful tiles --- ios/MBXViewController.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/MBXViewController.mm b/ios/MBXViewController.mm index f79a853b0..ba1b2978d 100644 --- a/ios/MBXViewController.mm +++ b/ios/MBXViewController.mm @@ -450,10 +450,10 @@ namespace llmr dispatch_async(dispatch_get_main_queue(), ^(void) { foreground_callback(); - - [[NSNotificationCenter defaultCenter] postNotificationName:MBXNeedsRenderNotification object:nil]; }); + if ( ! error) + [[NSNotificationCenter defaultCenter] postNotificationName:MBXNeedsRenderNotification object:nil]; }]; task.taskDescription = [@(tile_object->id.z) stringValue];