[ipc]: Init/Uninit ipc in SetFocus instead of SetThreadFocus
This commit is contained in:
1 parent
70dc459cc6
commit
111df26719
6 files changed
+51
-42
No files matched your search
@@ -12,8 +12,6 @@
|
||||
|
||||
STDAPI CMetasequoiaIME::OnSetThreadFocus()
|
||||
{
|
||||
// Connect to namedpipe
|
||||
InitNamedpipe();
|
||||
if (_pCandidateListUIPresenter)
|
||||
{
|
||||
ITfDocumentMgr *pCandidateListDocumentMgr = nullptr;
|
||||
@@ -40,8 +38,6 @@ STDAPI CMetasequoiaIME::OnSetThreadFocus()
|
||||
|
||||
STDAPI CMetasequoiaIME::OnKillThreadFocus()
|
||||
{
|
||||
// Disconnect from namedpipe
|
||||
CloseNamedpipe();
|
||||
if (_pCandidateListUIPresenter)
|
||||
{
|
||||
ITfDocumentMgr *pCandidateListDocumentMgr = nullptr;
|
||||
|
||||
Reference in new issue
Block a user