Fix bug on event handler 33/139533/1
authorjongmyeongko <jongmyeong.ko@samsung.com>
Wed, 19 Jul 2017 08:38:11 +0000 (17:38 +0900)
committerjongmyeongko <jongmyeong.ko@samsung.com>
Wed, 19 Jul 2017 08:38:11 +0000 (17:38 +0900)
commit75df9b85ee451094b9570b1e0d11b8496cdbd152
treeb1138efb771efaa7284dfbc8b91e5a04e967bc65
parent4fba0cfde57c173384b9b985e597d04e9fb677e3
Fix bug on event handler

For global handler, the user callback can be called twice with FAILED state.
For request handler, the user callback can be called with COMPLETED state
after call with FAILED. (known bug of global handler)

Change-Id: I1ffe83b686c0a344f68cca86fd1bf0eb14a7682c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
src/package_manager.c