I've seen that multiple times. Last time i saw it when somebody created an excel application object. He ended his application like that:
myExcelObj = Nothing
Application.Exit()
I'm sure making the reference point to nothing won't close the excel application running in the backround. Also saw that alot with non visible objects like the following:
Public Class myClass
Var1 as Integer = 0
Var2 as SQLConnection
Var3 as Whatever
Public Sub New()
Var1 = Maths.Rnd(0,1)
Var2 = SomeStaticClass.GetSQLConnection()
Var3 = New Whatever(Var1)
End Sub
End Sub
(...)
// Somewhere in the Code (...)
Private Sub EndItAll(sender as Object, e as EventArgs)
Me.My_myClassObject = Nothing
Application.Exit()
End Sub
Does that make any sense? Won't closing the application itself free every used memory anyways? When does it make sense to do so?