We apparently need to call Application::Quit() on iOS now

(This file is included in ios/UnitTest/UnitTest/ViewController.mm.)

Change-Id: I79170785db43d9bdb3aca6f500161862eb6a111b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99028
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99031
Tested-by: Jenkins
This commit is contained in:
Tor Lillqvist
2020-07-20 13:14:46 +02:00
parent 6294ecd7b4
commit 06ca0ae15f
@@ -20,6 +20,10 @@
#include <LibreOfficeKit/LibreOfficeKitInit.h>
#include <LibreOfficeKit/LibreOfficeKit.hxx>
#ifdef IOS
#include <vcl/svapp.hxx>
#endif
#include <boost/property_tree/json_parser.hpp>
using namespace lok;
@@ -654,6 +658,9 @@ int main( int argc, char* argv[] )
return help ("unknown parameter");
}
#ifdef IOS
Application::Quit();
#endif
aTimes.emplace_back("destroy document");
pDocument.reset();
aTimes.emplace_back();