https://bugs.documentfoundation.org/show_bug.cgi?id=88230
--- Comment #22 from Michael Meeks <[email protected]> --- Pranav - I was going to close this; but - can you look and see if this change is necessary to make this more correct ? =) Thanks ! diff --git a/fpicker/source/win32/filepicker/asyncrequests.cxx b/fpicker/source/win32/filepicker/asyncrequests.cxx index 089beca..87e53fa 100644 --- a/fpicker/source/win32/filepicker/asyncrequests.cxx +++ b/fpicker/source/win32/filepicker/asyncrequests.cxx @@ -28,6 +28,8 @@ namespace vista{ static void lcl_sleep( ::osl::Condition& aCondition, ::sal_Int32 nMilliSeconds ) { + SolarMutexReleaser aReleaser; + if (nMilliSeconds < 1) aCondition.wait(0); else @@ -41,8 +43,6 @@ static void lcl_sleep( ::osl::Condition& aCondition, void Request::wait( ::sal_Int32 nMilliSeconds ) { - SolarMutexReleaser aReleaser; - lcl_sleep( m_aJoiner, nMilliSeconds ); } -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
