From c03beb070b205ef0d5dbceaa5fa3d8dd340ad1fd Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Wed, 10 Sep 2014 19:15:03 -0400 Subject: [PATCH] fix Map::terminate? --- src/map/map.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map/map.cpp b/src/map/map.cpp index 6da514d16..baa82e6c5 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -115,7 +115,7 @@ void Map::run() { render(); } - view.make_inactive(); + terminate(); } void Map::rerender() { @@ -156,6 +156,7 @@ void Map::cleanup(uv_async_t *async, int status) { void Map::terminate() { view.make_active(); painter.terminate(); + view.make_inactive(); } void Map::render(uv_async_t *async, int status) {