Remove IME from the client repository when sending EXIT command 38/147838/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 29 Aug 2017 06:43:15 +0000 (15:43 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Wed, 6 Sep 2017 01:52:43 +0000 (10:52 +0900)
commitc70ac84e192a6249ef7a1d03e0d0db3edda9f3ed
tree6ff600e2560d3b91204deef9647ff6f2a29d4de0
parent22d31a0e714bd55054e30cb7bdbf8d54e55a2eeb
Remove IME from the client repository when sending EXIT command

Even after sending EXIT command to the currently selected IME,
the IME may not get destroyed right away due to its termination
logic, meaning the client repository still holds the IME info
until the socket connection is completely closed.
This would cause an unexpected result if the user first selects
IME A and then IME B, and IME A again.
After the last "IME A selected" event, if the socket connection to
previous IME A gets closed, panel would think the current IME
(that was launched due to the last selection for IME A) needs to be
restarted, so it tries launching new IME A instance.
To prevent this, we will going to remove IME info from client
repository right after we send the EXIT request command.

Change-Id: I28cdcf7796028d59cc6929c182abd64868309053
ism/modules/panelagent/ecoresocket/ecore_socket_panel_agent_module.cpp
ism/src/isf_info_manager.cpp