Skip to content

Commit

Permalink
[core] Make sure when RealEnd is called, instance->destroy == true.
Browse files Browse the repository at this point in the history
Fix #362
  • Loading branch information
wengxt committed Sep 19, 2017
1 parent b0a1830 commit 82202f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/fcitx/instance.c
Expand Up @@ -365,6 +365,7 @@ void* RunInstance(void* arg)
setjmp(FcitxRecover);

if (instance->destroy || instance->restart) {
FcitxInstanceEnd(instance);
FcitxInstanceRealEnd(instance);
break;
}
Expand Down

0 comments on commit 82202f6

Please sign in to comment.