diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2014-09-10 19:15:03 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2014-09-10 19:15:03 -0400 |
commit | c03beb070b205ef0d5dbceaa5fa3d8dd340ad1fd (patch) | |
tree | 7f717f5598b370d0f03152d1c55e5bdc2f3865e2 /src | |
parent | 89f54e8789d799d3e7db24ef6ae281ca22fb715b (diff) | |
download | qtlocation-mapboxgl-c03beb070b205ef0d5dbceaa5fa3d8dd340ad1fd.tar.gz |
fix Map::terminate?
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp index 6da514d163..baa82e6c54 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) { |