ecore_pipe.c: fixed fd handler increasing issue.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 22 May 2013 11:40:56 +0000 (20:40 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 22 May 2013 11:46:19 +0000 (20:46 +0900)
commit3c618e54a16e7c1c5f471f1f4528b57561259f46
tree26f88f0e75d5fadae80d415da4801e6d5c6ed6aa
parentab079ae1a514c6e9434fb3c5447b55735ef9ec83
ecore_pipe.c: fixed fd handler increasing issue.

Call _ecore_pipe_unhandle() when you return from _ecore_pipe_read() or the fd will never be closed.
This fixed increasing numbers of fd handler issue when you call ecore_pipe_add/del repeatedly.
In that case, reusing ecore_pipe is recommended though.
ChangeLog
NEWS
src/lib/ecore/ecore_pipe.c