Don't bind process to make task for pushing thread pool 40/71840/3
authorKyungwook Tak <k.tak@samsung.com>
Fri, 27 May 2016 08:39:46 +0000 (17:39 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Mon, 30 May 2016 02:07:57 +0000 (11:07 +0900)
commit0dbbe9f023db06c64910ec54216c4f892991a82c
tree17f7c8a9d8b5eab8e616aea02486d0fac75c6a49
parent0da7ad613e876ef8edf47da6c7702ec59f6ab43e
Don't bind process to make task for pushing thread pool

Sometimes crash occured on dtor of binded std::function after moved to
thread pool task queue. We can avoid it by using inbuf as shared ptr so
as to being delivered into lamda capture.

Change-Id: I76d68d91ca75bdc0c37bfb5b125a1e2956744010
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
src/framework/service/server-service.cpp