Kaydet (Commit) 2dd1f71b authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

sc html test: dispose xComponent in teardown

Change-Id: If33ad8bcca2c224b6bf68a1bdaa015326c17aef8
üst 0261d499
......@@ -65,6 +65,14 @@ public:
mxDesktop.set(css::frame::Desktop::create(comphelper::getComponentContext(getMultiServiceFactory())));
}
virtual void tearDown() SAL_OVERRIDE
{
if (mxComponent.is())
mxComponent->dispose();
test::BootstrapFixture::tearDown();
}
void testHtmlSkipImage()
{
htmlDocPtr pDoc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment