From 400bd4ced422c0a44924ad69be95a681cabc3b5b Mon Sep 17 00:00:00 2001 From: Varun Date: Fri, 7 Oct 2016 20:11:27 -0400 Subject: [PATCH] Reset renderCb on tangram_view destroy Fixes few more timeouts. Still few more left. Change-Id: Iaecf14e3cf43a5529eb4cd5950732a07f684a734 --- src/mapzen/tangram_view.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mapzen/tangram_view.cpp b/src/mapzen/tangram_view.cpp index ad50098..038cec7 100644 --- a/src/mapzen/tangram_view.cpp +++ b/src/mapzen/tangram_view.cpp @@ -215,6 +215,7 @@ mapzen_error_e TangramView::destroy(maps_view_h view) } if (m_map) { + setRenderCallbackFunction(nullptr); removeAllObjects(); delete m_map; m_map = nullptr; -- 2.7.4