mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Properly reinitialise the OVERLAPPED structure (thanks Vincent!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31371 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
df3df64b8a
commit
68809af49b
@ -415,6 +415,8 @@ bool LyXComm::checkStopServer(DWORD timeout)
|
||||
bool LyXComm::startPipe(DWORD index)
|
||||
{
|
||||
pipe_[index].pending_io = false;
|
||||
pipe_[index].overlap.Offset = 0;
|
||||
pipe_[index].overlap.OffsetHigh = 0;
|
||||
|
||||
// Overlapped ConnectNamedPipe should return zero.
|
||||
if (ConnectNamedPipe(pipe_[index].handle, &pipe_[index].overlap)) {
|
||||
|
Loading…
Reference in New Issue
Block a user