[Databuffer] Fix queue is not emptied properly
authorJihoon Lee <jhoon.it.lee@samsung.com>
Tue, 6 Oct 2020 04:25:56 +0000 (13:25 +0900)
committerjijoong.moon <jijoong.moon@samsung.com>
Tue, 6 Oct 2020 04:46:17 +0000 (13:46 +0900)
commitd88b83c9997d41afa3cc37433423f9cf94590376
treed9eb82310bea4eecebe30c593fd54c4c351770a5
parent04bb705377af32fcba6c7c685ff18c8cff080631
[Databuffer] Fix queue is not emptied properly

There was an issue that databuffer is not emptying queue properly.
This patch fixes the issue.o

Reoslves #621

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
nntrainer/src/databuffer.cpp