From 036acf23cd171037d36bc2f4fdd4de0a657dfe9d Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Fri, 22 Jul 2016 16:29:08 +0300 Subject: [default] uv_run should use UV_RUN_NOWAIT UV_RUN_ONCE might block and that is not the semantics we expect from RunLoop::runOnce(). --- platform/default/run_loop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/default') diff --git a/platform/default/run_loop.cpp b/platform/default/run_loop.cpp index 29ebe168f5..1ebbade7ab 100644 --- a/platform/default/run_loop.cpp +++ b/platform/default/run_loop.cpp @@ -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() { -- cgit v1.2.1