loolwsd: Fix admin console document add
Change-Id: I987f26b4aae2c4ea8ef65919f570576ef8c5d2a7
This commit is contained in:
parent
1c2c03fcb6
commit
d4fbc92023
2 changed files with 6 additions and 0 deletions
|
@ -268,6 +268,9 @@ public:
|
|||
|
||||
void childSocketTerminated();
|
||||
|
||||
/// Get the PID of the associated child process
|
||||
Poco::Process::PID getPid() const { return _childProcess->getPid(); }
|
||||
|
||||
private:
|
||||
|
||||
/// Sends the .uno:Save command to LoKit.
|
||||
|
|
|
@ -809,6 +809,9 @@ private:
|
|||
ws->sendFrame(status.data(), (int) status.size());
|
||||
}
|
||||
|
||||
// Tell the admin console about this new doc
|
||||
Admin::instance().addDoc(docKey, docBroker->getPid(), docBroker->getFilename(), id);
|
||||
|
||||
LOOLWSD::dumpEventTrace(docBroker->getJailId(), id, "NewSession: " + uri);
|
||||
|
||||
// Let messages flow.
|
||||
|
|
Loading…
Reference in a new issue