Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-mason

Conflicts:
	src/mbgl/map/map.cpp
This commit is contained in:
Leith Bade
2014-12-08 20:19:41 +11:00
4 changed files with 0 additions and 23 deletions

View File

@@ -160,7 +160,6 @@ void Map::start(bool startPaused) {
terminating = true;
// Closes all open handles on the loop. This means that the loop will automatically terminate.
asyncCleanup.reset();
asyncRender.reset();
asyncTerminate.reset();
});
@@ -184,11 +183,6 @@ void Map::start(bool startPaused) {
}
});
asyncCleanup = util::make_unique<uv::async>(**loop, [this]() {
assert(painter);
painter->cleanup();
});
// Do we need to pause first?
if (startPaused) {
pause();
@@ -361,12 +355,6 @@ void Map::swapped() {
rerender();
}
void Map::cleanup() {
if (asyncCleanup != nullptr) {
asyncCleanup->send();
}
}
void Map::terminate() {
assert(painter);
painter->terminate();