Sign in to follow this  
Followers 0
Lilla

Is Splashoff() Required To Reclaim Memory?

2 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0