<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2016-02-22 16:08 GMT+01:00 Ben Coman <span dir="ltr">&lt;<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":27x" class="a3s" style="overflow:hidden">...why does the curtailed block execute in outside thread rather than<br>
the middle thread which still exists?<br>
<br>
Also interesting is that if the curtailed code contains a wait, it<br>
blocks the whole UI.<br></div></blockquote></div><br>It&#39;s because curtailed block is executed explicitly inside process termination method in context of current process. In your example you call it from workspace UI. And it blocks it.</div></div>