Pop all dbus message
- Issue:
When the test case for audio streaming, stt_cancel() can be ignored
sometimes.
- Solution:
This patch adds while loop in a dbus listener callback to get all the
message from the handle. If there are multiple message requests from the
client library, the server process can receive multiple message at once
while single invocation of listener callback. However, the code does not
pop the all message from the listener handle. This may cause ingoring
some requests from the client. So, this patch fixes this situation using
while loop. Through this patch, listener callback always pop the all
messgae from the listener handle.
Change-Id: I258e4f776956efdb1e2c81f93658ba58e2070052
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>