Kaydet (Commit) e83f3172 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

tdf#82775: Don't prematurely dispose single-instance services

...that happen to be requested concurrently from multiple threads

Change-Id: Icecfb0b8d88c9123064689643eddf90a99d3b1b8
üst 26cbb3d1
......@@ -620,7 +620,9 @@ Any ComponentContext::lookupMap( OUString const & rName )
ret = pEntry->value;
}
guard.clear();
try_dispose( xInstance );
if (ret != xInstance) {
try_dispose( xInstance );
}
return ret;
}
......
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