fix Map::terminate?

This commit is contained in:
Mike Morris
2014-09-10 19:15:03 -04:00
parent 89f54e8789
commit c03beb070b

View File

@@ -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) {