解决输入法偶尔白屏问题

Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2021-10-20 14:56:20 +08:00
parent 397e0dc25a
commit b2a71d0099
3 changed files with 14 additions and 10 deletions
@@ -38,6 +38,8 @@ namespace MiscServices {
InputMethodAbility::~InputMethodAbility()
{
IMSA_HILOGI("InputMethodAbility::~InputMethodAbility");
instance_ = nullptr;
if (msgHandler != nullptr) {
delete msgHandler;
msgHandler = nullptr;