Lilla Posted April 13, 2004 Share Posted April 13, 2004 Is SplashOff() required to reclaim memory? I'm using AutoIt v3 build 101 published 11-Mar-2004 For example, at the end of a .vbs program it is important to do cleanup. For example: Set colDisks = nothing Set objDisk = nothing Set objWMIService = nothing Set objNetwork = nothing Set objOutLogFile = nothing Set objFileSystem = nothing So, I've been wondering if there are things that need to be cleaned up at the end of an AutoIt v3 script? For example, when a script uses a SplashTextOn, the Splash closes itself when it sees the Exit command, so I don't bother issuing a SplashOff(). Am I causing memory leaks by not issuing a SplashOff() before Exiting? Is it considered better form to issue a SplashOff()? Thank you, Lilla Link to comment Share on other sites More sharing options...
Lilla Posted April 13, 2004 Author Share Posted April 13, 2004 No. Autoit3 will cleanup the Splash hWnd on Exit, if one exists. It also keeps track of open files, though you should close them yourself...Lar.Thank you Larry.AutoIt v3 is terrific. I love AutoIt v3 and AutoIt-GUI.Lilla Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now