summaryrefslogtreecommitdiffstats
path: root/wsd/DocumentBroker.cpp
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2021-11-28 10:18:44 -0500
committerJan Holesovsky <holesovsky@gmail.com>2022-01-11 09:28:03 +0100
commit65d5a4f1a5ee8a22e4f2c397b9748eed8ae86022 (patch)
treea4c17dded5afc89e8ca0b83d89e83f3afe535a35 /wsd/DocumentBroker.cpp
parentwsd: handle the modified status for inactive views (diff)
downloadonline-65d5a4f1a5ee8a22e4f2c397b9748eed8ae86022.tar.gz
online-65d5a4f1a5ee8a22e4f2c397b9748eed8ae86022.zip
wsd: test: add slow save and upload test
Change-Id: I5c7e706a1ded7774c9da4545218ba9fa29fc9d81 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk> (cherry picked from commit 29c26c9afee593c20bc72a668ba0c3d5634aa35b)
Diffstat (limited to 'wsd/DocumentBroker.cpp')
-rw-r--r--wsd/DocumentBroker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index d9ce36e0d1..4ca1155749 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -521,6 +521,8 @@ DocumentBroker::~DocumentBroker()
// and thread finished before we are destroyed.
_childProcess.reset();
+ UnitWSD::get().onDocBrokerDestroy(_docKey);
+
#if !MOBILEAPP
// Remove from the admin last, to avoid racing the next test.
Admin::instance().rmDoc(_docKey);