<blockquote>
<p>Whats it doing wrong?</p>
</blockquote>

<p>Its code contains no form of error handling to detect, correct, or mitigate a catastrophic failure caused entirely by the plugin itself. It's basically doing the worse possible thing (nothing), which is directly responsible for causing Geany to enter into a state where all unsaved data will be lost and the user is forced to kill the Geany process or reboot. If it wasn't doing it wrong, that wouldn't happen.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/815#issuecomment-165037573">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ537KXw1hiZBOf2yufXIVNYaUGj8ks5pQR99gaJpZM4G04_e.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/815#issuecomment-165037573"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>