diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-30 01:10:37 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-30 01:10:37 +0100 |
commit | bf00b2c3a0fbfbdcbd7c5f4ab519049dc02c1263 (patch) | |
tree | 1facb41649496418c5a2120391917e28302f8270 /common/clientapi.h | |
parent | e7743002a75d83e24de94f712fac0f0b61ab0ca3 (diff) | |
download | sink-bf00b2c3a0fbfbdcbd7c5f4ab519049dc02c1263.tar.gz sink-bf00b2c3a0fbfbdcbd7c5f4ab519049dc02c1263.zip |
Shutdown command for synchronizers, used by the dummyresourcetest.
Otherwise the synchronizer keeps a Storage object alive, while the tests
deletes the db. This causes subsequent writes to fail in the next test.
Diffstat (limited to 'common/clientapi.h')
-rw-r--r-- | common/clientapi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/clientapi.h b/common/clientapi.h index 542039e..71317a1 100644 --- a/common/clientapi.h +++ b/common/clientapi.h | |||
@@ -488,6 +488,8 @@ public: | |||
488 | auto facade = FacadeFactory::instance().getFacade<DomainType>(resourceIdentifier); | 488 | auto facade = FacadeFactory::instance().getFacade<DomainType>(resourceIdentifier); |
489 | facade.remove(domainObject); | 489 | facade.remove(domainObject); |
490 | } | 490 | } |
491 | |||
492 | static void shutdown(const QString &resourceIdentifier); | ||
491 | }; | 493 | }; |
492 | 494 | ||
493 | } | 495 | } |