You are here

Launcher Abort

6 posts / 0 new
Last post
prapper
Offline
Last seen: 3 years 1 month ago
Developer
Joined: 2008-01-24 17:01
Launcher Abort

In the launchers, the labels 'NoProgramEXE' and 'WarnAnotherInstance' end with 'Abort'. OK, but why don't they 'Goto TheEnd' instead and unload the plugins/clean the TEMP directory etc. while they're at it? It would seem much more sensible and I can't see any problem.

Is there something I'm missing here that would make this inadvisable?

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
You only need those if you've

You only need those if you've already shown the splash. Which I don't think you usually do before you've check to make sure everything is there.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Not necessary

I haven't actually tested it thoroughly, but on this thought I took a look at launchers. The plugins are automatically unloaded unless /NOUNLOAD is put to them, which is only done with newadvsplash, and the launcher won't Abort after that, so to the best of my knowledge, all the stuff will "always" (crashes excepted) be cleaned up.

Is this not your experience?

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

prapper
Offline
Last seen: 3 years 1 month ago
Developer
Joined: 2008-01-24 17:01
Registry

If it aborts after WarnAnotherInstance and it's using the registry it'll leave the DLL in a folder in TEMP. That's what I'm finding here.

I re-compiled with Goto TheEnd and it cleaned up (as ${registry::Unload} is at the end, obviously). I can switch back and forth while watching the TEMP directory and it happens every time. Is it just the registry plugin? I haven't been through all the launchers Smile

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Not sure

I'm not sure about apps in general, but for the Universal Launcher it'll be fine (CPALT5 is fine with it, no abort after a ${registry::*} command).

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

prapper
Offline
Last seen: 3 years 1 month ago
Developer
Joined: 2008-01-24 17:01
Aren't Any

There aren't any aborts after a registry command (generally) in the current launchers either. I'm guessing the plugin has to be unloaded manually (?) hence it's appearance at TheEnd, which won't happen if it aborts anytime before then.

Anyway, just thought I'd put it out there in case anyone could confirm (or otherwise) for sure.

Log in or register to post comments