D
**Developer**
Private Sub KeyboardShortcuts()
Dim ff As New FormHelp
ff.Show()
End Sub
End Class
Seems to me that ff is on the stack (?maybe not) and references the instance
of FormHelp. After the sub exits ff nolonger exists and nothing references
the form so why doesn't GC release the form's memory?
Even if ff is not on the stack after the sub exits ff should be available
for GC. No?
Thank
Dim ff As New FormHelp
ff.Show()
End Sub
End Class
Seems to me that ff is on the stack (?maybe not) and references the instance
of FormHelp. After the sub exits ff nolonger exists and nothing references
the form so why doesn't GC release the form's memory?
Even if ff is not on the stack after the sub exits ff should be available
for GC. No?
Thank