mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
Perform the clean up at the right place. Also put the event in the
nonsignaled state, otherwise after a shutdown the server would be continually stopped... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31194 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
96a8d85c7c
commit
cd475bad39
@ -170,7 +170,6 @@ void LyXComm::pipeServer()
|
||||
CloseHandle(inpipe);
|
||||
}
|
||||
CloseHandle(outpipe_);
|
||||
CloseHandle(stopserver_);
|
||||
}
|
||||
|
||||
|
||||
@ -246,6 +245,8 @@ void LyXComm::closeConnection()
|
||||
if (hpipe != INVALID_HANDLE_VALUE)
|
||||
CloseHandle(hpipe);
|
||||
|
||||
ResetEvent(stopserver_);
|
||||
CloseHandle(stopserver_);
|
||||
ready_ = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user