Merge branch 'fix-context-shutdown-merge' into libuv-0.10-fix-context-shutdown

Conflicts:
	src/map/map.cpp
This commit is contained in:
Mike Morris
2014-09-10 18:53:20 -04:00
9 changed files with 58 additions and 1 deletions

View File

@@ -114,6 +114,8 @@ void Map::run() {
prepare();
render();
}
view.make_inactive();
}
void Map::rerender() {
@@ -151,6 +153,11 @@ void Map::cleanup(uv_async_t *async, int status) {
map->painter.cleanup();
}
void Map::terminate() {
view.make_active();
painter.terminate();
}
void Map::render(uv_async_t *async, int status) {
Map *map = static_cast<Map *>(async->data);