[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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user