<p>We observed some issues with persistence (corrupted files). This PR intends to fix that by adding more checks so that edge cases where it was possible that methods got called repeatadly or in a state where they should not be called anymore are avoided.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/4804'>https://github.com/bisq-network/bisq/pull/4804</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add additional guards to ensure that the shut down routine is not called multiple times</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4804/files#diff-027bee98275ab3b1c9ab87efcce29f5628eec45a99552c169631a85d8c7d7e13">common/src/main/java/bisq/common/persistence/PersistenceManager.java</a>
    (94)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/4804.patch'>https://github.com/bisq-network/bisq/pull/4804.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/4804.diff'>https://github.com/bisq-network/bisq/pull/4804.diff</a></li>
</ul>

<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/pull/4804">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNUKZCKU3VCS7IQPJTDSPWS3RANCNFSM4TVCWTTA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNQ43JHAPE27ICPI2CDSPWS3RA5CNFSM4TVCWTTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LCGMAZQ.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/pull/4804",
"url": "https://github.com/bisq-network/bisq/pull/4804",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>