Kaydet (Commit) 8ed93fef authored tarafından Tor Lillqvist's avatar Tor Lillqvist

We need to acquire the yield mutex here

Otherwise we get an assertion failure in a dbgutil build from the
DBG_TESTSOLARMUTEX() in OutputDevice::ImplReleaseGraphics() when
quitting, at least in 64-bit LO on OS X.

Change-Id: Ieb54e6b58033279f807fe91f4f6139018f643903
üst 6a0c8c72
......@@ -184,6 +184,10 @@ VirtualDevice::~VirtualDevice()
ImplSVData* pSVData = ImplGetSVData();
// OutputDevice::ImplReleaseGraphics() requires the yield mutex to
// be held, hmm.
pSVData->mpDefInst->AcquireYieldMutex( 1 );
ImplReleaseGraphics();
if ( mpVirDev )
......
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