After looking at tech tip https://kb.4d.com/assetid=78492 on memory leaks, I am wondering if CLOSE WINDOW is needed in the following to prevent a memory leak.
$w:=Open form window(“SampleWin”)
SET WINDOW TITLE(“New Sample”;$w)
DIALOG seems to take care of CLOSE WINDOW, maybe not?
Would CLOSE WINDOW be needed if the process ends after the call to DIALOG?
I got out of the habit of using CLOSE WINDOW in these specific circumstances after removing the command stopped 4D from crashing in a long ago version.
Keith - CDI