Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

loop.handles_queue not clean in in uv_loop_close() #1

Closed
seanshpark opened this issue Jul 25, 2015 · 1 comment
Closed

loop.handles_queue not clean in in uv_loop_close() #1

seanshpark opened this issue Jul 25, 2015 · 1 comment

Comments

@seanshpark
Copy link
Contributor

use 239ab0b79c44b983862f9eb55db3c9a5d30d480a
run tuvtester, timer test case will fail at TUV_ASSERT(0 == uv_loop_close(uv_default_loop()));

in uv_loop_close(),

  QUEUE_FOREACH(q, &loop->handles_queue) {
    h = QUEUE_DATA(q, uv_handle_t, handle_queue);
    if (!(h->flags & UV__HANDLE_INTERNAL)) {
      return UV_EBUSY;
    }
  }

will return UV_EBUSY as handles_queue is not empty, but should be emtpy

seanshpark added a commit that referenced this issue Jul 28, 2015
* related issue #1

libtuv-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
@seanshpark
Copy link
Contributor Author

fixed with c173ecf

tadziopazur pushed a commit to tadziopazur/libtuv that referenced this issue Oct 19, 2017
Timer inital code: Native Timer with start() and stop()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant