[default] uv_run should use UV_RUN_NOWAIT

UV_RUN_ONCE might block and that is not the semantics we expect
from RunLoop::runOnce().
This commit is contained in:
Thiago Marcos P. Santos
2016-07-22 16:29:08 +03:00
parent 4dd734f040
commit 036acf23cd

View File

@@ -158,7 +158,7 @@ void RunLoop::run() {
void RunLoop::runOnce() {
MBGL_VERIFY_THREAD(tid);
uv_run(impl->loop, UV_RUN_ONCE);
uv_run(impl->loop, UV_RUN_NOWAIT);
}
void RunLoop::stop() {