properly ref/unref the handle and run the loop again for shutdown purposes
This commit is contained in:
@@ -67,6 +67,9 @@ Map::~Map() {
|
||||
glyphAtlas.reset();
|
||||
style.reset();
|
||||
fileSource.reset();
|
||||
workers.reset();
|
||||
|
||||
uv_run(**loop, UV_RUN_DEFAULT);
|
||||
}
|
||||
|
||||
uv::worker &Map::getWorker() {
|
||||
|
||||
Reference in New Issue
Block a user