<p></p>
<p>This sounds fair enough, but I would think that what should really be done is free <code>vf</code> <em>after</em> destroying the VTE widget, as the callbacks use the <code>vf</code> global.<br>
However, it makes sense not to restart the child when destroying the widget, so the patch here seems also not bad.</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/geany/geany/pull/2634#issuecomment-715886335">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYABGFIZ6UFFXIXXJLSMKLSPANCNFSM4S5N6SCQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJYFM7RLL4CXQSEDR3LSMKLSPA5CNFSM4S5N6SC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFKVY57Y.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/geany/geany/pull/2634#issuecomment-715886335",
"url": "https://github.com/geany/geany/pull/2634#issuecomment-715886335",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>