<div dir="ltr"><div>Stream allSubInstances ?</div><div><br></div><div>Best,</div><div>Karl<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 1, 2020 at 9:13 PM Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div id="gmail-m_-920010472090270631divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Simple question, probably we already have a helper method for it, but I did not found any yet:</p>
<p>Often, way too often, I encounter some old code <span style="font-size:8pt">
(or some stupid code written by myself)</span> that uses #<span>readStream to read a file and forgets to close it again.</span></p>
<p><span>Apart from the fact that #readStream is a quite dangerous selector, I wish I could find these unclosed file streams and close them manually without restarting my entire image.</span></p>
<p><span>Is there any quick way to do this? "<span>Smalltalk snapshot: false andQuit: false" does not seem to do the trick, and I would prefer a less brutal approach.</span></span></p>
<p><span><span>Something like "Utilities exploreUnclosedFileStreams" would be perfect ...</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>Best,</span></span></p>
<p><span><span>Christoph</span></span></p>
<div id="gmail-m_-920010472090270631Signature">
<div id="gmail-m_-920010472090270631divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="divtagdefaultwrapper">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
</div>

<br>
</blockquote></div>