https://issues.apache.org/ooo/show_bug.cgi?id=114963

--- Comment #24 from [email protected] ---
Created attachment 83383
  --> https://issues.apache.org/ooo/attachment.cgi?id=83383&action=edit
Enable IPC before OpenClients to allow client connections when printing

Fixed as follows:

Enable IPC thread before OpenClients

This is because it is possible for another client to connect during the
OpenClients() call.

This can happen on Windows when document is printed (not opened) and another
client wants to print (when printing multiple documents).

If the IPC thread is enabled after OpenClients, then the client will not be
processed because the application will exit after printing. i.e
OfficeIPCThread::AreRequestsPending() will always return false

ALSO:

Multiple clients may request simultaneous connections.
When this server closes down it attempts to recreate the pipe (in
DisableOfficeIPCThread()).
It's possible that the client has a pending connection request.
When the IPC thread is not running, this connection locks (because
maPipe.accept()) is never called

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to