<blockquote>
<p>what life time issues?</p>
</blockquote>

<p>If a plugin held on to a <code>GeanyDocument</code> pointer and a document was closed and one was opened, the <code>GeanyDocument</code> pointer might still point to a document but a different document. It's not an issue during loops, and exists for any function that gives access to a <code>GeanyDocument</code>, I'm just telling the issue <a href="https://github.com/elextr" class="user-mention">@elextr</a> is talking about.</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 or view it on GitHub:<br><a href="https://github.com/geany/geany/issues/964#issuecomment-196707216">https://github.com/geany/geany/issues/964#issuecomment-196707216</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJxqcfNu9zNap9omzsIOEczPsxg1-ks5ptmZDgaJpZM4HvvHU.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/964#issuecomment-196707216"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>