<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Hi Developers</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">The contour plugin I have been maintaining seems to occasionally lose the C++ object that
 its processing algorithm is using.  </span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
In particular this happens when changing settings.</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Before I get lost trying to track this through the Python/SWIG bindings and comparing with other processing algorithms I am wondering if this is familiar or you can offer ideas about how to track it down.  It seems either my python object is persisting too
 long or or the underlying C++ object not long enough, but I'm very unfamiliar with SWIG so any suggestions would be very welcome
<span id="🙂">🙂</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span><br>
</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span>Thanks</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span>Chris</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Taras Dubrava <notifications@github.com><br>
<b>Sent:</b> 04 December 2022 01:11<br>
<b>To:</b> ccrook/QGIS-Contour-Plugin <QGIS-Contour-Plugin@noreply.github.com><br>
<b>Cc:</b> Subscribed <subscribed@noreply.github.com><br>
<b>Subject:</b> [ccrook/QGIS-Contour-Plugin] RuntimeError : wrapped C/C++ object of type ContourGeneratorAlgorithm has been deleted (Issue #46)</font>
<div> </div>
</div>
<div>
<p></p>
<p dir="auto">Every time when I change the background colour in QGIS the following error appears</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F17712182%2F205440281-59f0e4e0-0cec-4227-9701-5a61ef0395c2.png&data=05%7C01%7Cccrook%40linz.govt.nz%7C096acb62729c4ce0e83b08dad5277906%7C2134e9617e384c34a22b10da5466b725%7C0%7C0%7C638056662780766122%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xo9sukyqQCIbJwoHKSc4eyQ%2FDCDzX7%2BOfqO3KXdcx7I%3D&reserved=0" originalsrc="https://user-images.githubusercontent.com/17712182/205440281-59f0e4e0-0cec-4227-9701-5a61ef0395c2.png" shash="x8AYSji9av+jRi9tYX+jvFxf7DgXYvLtN6bLQjpDTSitDFqct8bjnRzIRHlxsiBbI1kMn5iUJcnnsz3+WwRh3dittM59wh9Nv6R9c+NsrFFIRNzAUdD/YN/VeZ9GBLe3PLDSl+uQxFk2wKivnvd+lRWPE1QiEJfjiKkAGWX3Aqo="><img alt="image" style="max-width:100%" src="https://user-images.githubusercontent.com/17712182/205440281-59f0e4e0-0cec-4227-9701-5a61ef0395c2.png"></a></p>
<p dir="auto">QGIS 3.28 Firenze</p>
<p style="font-size:small; color:#666">—<br>
Reply to this email directly, <a href="https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fccrook%2FQGIS-Contour-Plugin%2Fissues%2F46&data=05%7C01%7Cccrook%40linz.govt.nz%7C096acb62729c4ce0e83b08dad5277906%7C2134e9617e384c34a22b10da5466b725%7C0%7C0%7C638056662780766122%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QxDFuE87Xpbf%2F2e7vAuPPua5BSiyjW%2BxKrL1KaKK4WU%3D&reserved=0" originalsrc="https://github.com/ccrook/QGIS-Contour-Plugin/issues/46" shash="QHrCS7MK7TYaP3Eu/xGBTbHrljEaTTdizGiKCKuCCFGx/LNzru1xupaTjV8l/47vgdiCeO5FnDKEvYqBEmwsilBBSwWktymKOHeCJAS12dx309t94jaF8rviEhFXGcqd8/D3hBFV2O08GTEeaYh/QZIiFlh0Ec8CL3irFrz36j0=">
view it on GitHub</a>, or <a href="https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAE2CESBOUFHWGZBV5OK7XDWLM2FRANCNFSM6AAAAAASSW5ZAU&data=05%7C01%7Cccrook%40linz.govt.nz%7C096acb62729c4ce0e83b08dad5277906%7C2134e9617e384c34a22b10da5466b725%7C0%7C0%7C638056662780922181%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zR%2BR5PfFM7NlJQBaP0EoaqX9xavj3no4%2B6xJAgdQTB0%3D&reserved=0" originalsrc="https://github.com/notifications/unsubscribe-auth/AAE2CESBOUFHWGZBV5OK7XDWLM2FRANCNFSM6AAAAAASSW5ZAU" shash="dJfYhPC7KMshWWcdeGwlX0Tb4L0tH4ixkjlb/p9DxiN/qgcOX8Fs4D3OZ10y47Z2r46qfedxgPCcfBQBSlGxUNDxD73npuCt63EAanuZT4de+yICzEWd7Rng0LzEWLKFeoNDZs3d9x0Sw1iAmQM5v4ojYv2I5aOV+DEdVywYdSY=">
unsubscribe</a>.<br>
You are receiving this because you are subscribed to this thread.<img height="1" width="1" alt="" src="https://github.com/notifications/beacon/AAE2CEXOKGUC7TBZZAVRDX3WLM2FRA5CNFSM6AAAAAASSW5ZAWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFPWXWSY.gif"><span style="color:transparent; font-size:0; display:none; visibility:hidden; overflow:hidden; opacity:0; width:0; height:0; max-width:0; max-height:0">Message
 ID: <span><ccrook/QGIS-Contour-Plugin/issues/46</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
</div>
<br>
<hr>
<font face="Verdana" color="Black" size="2"><br>
This message contains information, which may be in confidence and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please
 notify us immediately (Phone 0800 665 463 or info@linz.govt.nz) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.<br>
</font>
</body>
</html>