<p></p>
<p>I don't think my PR (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="594829614" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/4122" data-hovercard-type="pull_request" data-hovercard-url="/bisq-network/bisq/pull/4122/hovercard" href="https://github.com/bisq-network/bisq/pull/4122">#4122</a>) to change the behaviour of <code>UserThread</code> has been merged yet, at least not into master. However, it does include a change to <code>OpenOfferManager</code> which should fix the above exception.</p>
<p>It looks like it was an unrelated change (to prevent a lockup on shutdown) on the 26th of March which replaced <code>UserThread.runAfter(..)</code> with <code>new Thread(..).start()</code> in BisqApp.java:153.</p>
<p>BTW, I noticed during testing of the above PR that a lockup-on-shutdown problem still exists when there are open offers, as the relevant branch of <code>OpenOfferManager.shutDown</code> passes the <code>completeHandler</code> continuation to <code>UserThread::runAfter</code> instead of executing it directly in the new thread created in <code>BisqApp</code>. I wasn't quite sure the best way to fix the issue at the time, as I'm not very familiar with that area of the code, so I left it.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/4148#issuecomment-611347928">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNQSLGB7BWU6ZN5ECI3RLVRFTANCNFSM4MEJHTPA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNVXS7P6TGRWNQSXJLTRLVRFTA5CNFSM4MEJHTPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOERYG3WA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/4148#issuecomment-611347928",
"url": "https://github.com/bisq-network/bisq/issues/4148#issuecomment-611347928",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>