<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 14 Dec 2020 at 08:34, Mike Kaganski <<a href="mailto:mikekaganski@hotmail.com">mikekaganski@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
I suppose we must check to release solar mutex before any blocking calls <br>
to clipboard thread, including explicit waits (like <br>
CMtaOleClipboard::getClipboard that posts a message and then waits) and <br>
implicit waits like described above, calling COM methods of objects <br>
known to be created in a different thread.<br><br></blockquote><div><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Probably that ^^ and also we could post events to the main thread from the clipboard, rather than directly handling them in the clipboard thread - the stack trace referenced above looks like it could do that.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"></div></div></div>