Modified to add event listener only when creating new candidate object 60/66960/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Fri, 22 Apr 2016 08:11:50 +0000 (17:11 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Fri, 22 Apr 2016 08:20:07 +0000 (17:20 +0900)
commit67a70f219fb97ed0ff7bf26d9bcf58ce616ea475
treee5a5b968ddedab764517fbed611cc7eeb170ebaa
parentf3e4b88f77d9793c2701c91e3353108067be6963
Modified to add event listener only when creating new candidate object

Since the previous create_softcandidate function adds event listener
every time it is called, which calls push_back() of the vector object,
resulting consume unnecessary memory. So changing the logic to add
event listener only when creating a new one.

Change-Id: I551a8bddeb222a80ea4a03732942f9f94e8ea16d
src/ise.cpp