From a916b6ff7fdf1bcb1182e72e4a5bf2f901c698da Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 28 May 2014 22:33:29 -0400 Subject: Detach all DocBasicItem objects upon process termination. To prevent rogue DocBasicItem objects (which are global objects) from attempting to stop listening after the main app is dead. Change-Id: I68a667137ca4e0eff18278f4d2d5dd67466eaf34 --- unotest/source/cpp/bootstrapfixturebase.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'unotest/source/cpp') diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx index 87a72a725eb0..c407dc677b20 100644 --- a/unotest/source/cpp/bootstrapfixturebase.cxx +++ b/unotest/source/cpp/bootstrapfixturebase.cxx @@ -15,6 +15,7 @@ #include #include #include +#include #include #include @@ -105,6 +106,7 @@ void test::BootstrapFixtureBase::setUp() void test::BootstrapFixtureBase::tearDown() { + StarBASIC::DetachAllDocBasicItems(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit