[core] Get rid of ::unref() for Timer and AsyncTask

Not need, legacy from libuv. The RunLoop keep the main
loop running until is explicitly no longer needed.
This commit is contained in:
Thiago Marcos P. Santos
2016-01-08 23:17:43 +02:00
parent e7b0b31d58
commit d7fdcc73bf
11 changed files with 31 additions and 38 deletions

View File

@@ -39,9 +39,6 @@ MapContext::MapContext(View& view_, FileSource& fileSource, MapMode mode_, GLCon
util::ThreadContext::setFileSource(&fileSource);
util::ThreadContext::setGLObjectStore(&glObjectStore);
asyncUpdate.unref();
asyncInvalidate.unref();
view.activate();
}