<p>Hi Remi,</p>
<p>There are cleaner solutions, and I plan to send such as RFC to <code>vlc-devel</code> later this week.</p>
<p>On 16/08/24 20:11, Rémi Denis-Courmont wrote:</p>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;color:#500050">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;color:#500050">
<pre><code> In that case we need to split it up into 1) deactivate playlist 2)
 destroy interfaces (but not the playlist) 3) delete the preparser 4)
 delete the playlist (idea from filip).</code></pre>
</blockquote>
<pre><code> I don´t know. I don´t understand the relevance of step (1) and of this patch 
 to the underlying problem.</code></pre>
</blockquote>
<p>The relevance of step <code>(1)</code> is basically to make sure that something does not schedule a <em>preparse-request</em> inbetween <code>(3)</code> and <code>(4)</code> without introducing too many changes to the preparser process itself.</p>
<p>It can however be solved in different manners, I just thought of the steps to reach a simple solution to a rather complex problem (given the current implementation).</p>